OffsetResetProtectionSettings

akka.kafka.OffsetResetProtectionSettings$
See theOffsetResetProtectionSettings companion class

The thresholds after which reset protection is enabled. Offsets, time, or both can be provided.

Attributes

Companion:
class
Source:
OffsetResetProtectionSettings.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

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.

Enable offset-reset protection with the given offset and time threshold, where offsets received outside the threshold are considered indicative of an offset reset.

Attributes

Source:
OffsetResetProtectionSettings.scala
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.

Enable offset-reset protection with the given offset and time threshold, where offsets received outside the threshold are considered indicative of an offset reset.

Attributes

Source:
OffsetResetProtectionSettings.scala

Create settings from a configuration with layout connection-checker.

Create settings from a configuration with layout connection-checker.

Attributes

Source:
OffsetResetProtectionSettings.scala

Java API: Create settings from a configuration with layout offset-reset-protection.

Java API: Create settings from a configuration with layout offset-reset-protection.

Attributes

Source:
OffsetResetProtectionSettings.scala