object OffsetResetProtectionSettings
The thresholds after which reset protection is enabled. Offsets, time, or both can be provided.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OffsetResetProtectionSettings
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- val Disabled: OffsetResetProtectionSettings
- def apply(config: Config): OffsetResetProtectionSettings
Create settings from a configuration with layout
connection-checker
. - def apply(offsetThreshold: Long, timeThreshold: Duration): OffsetResetProtectionSettings
Enable offset-reset protection with the given offset and time threshold, where offsets received outside the threshold are considered indicative of an offset reset.
- def apply(offsetThreshold: Long, timeThreshold: FiniteDuration): OffsetResetProtectionSettings
Enable offset-reset protection with the given offset and time threshold, where offsets received outside the threshold are considered indicative of an offset reset.
- val configPath: String
- def create(config: Config): OffsetResetProtectionSettings
Java API: Create settings from a configuration with layout
offset-reset-protection
.