Enum Class SourceOffsetFailMode

java.lang.Object
java.lang.Enum<SourceOffsetFailMode>
org.gridgain.kafka.source.SourceOffsetFailMode
All Implemented Interfaces:
Serializable, Comparable<SourceOffsetFailMode>, Constable

public enum SourceOffsetFailMode extends Enum<SourceOffsetFailMode>
Source offset fail mode. Controls the behavior of the source task when it fails to restart from the last stored source offset (continuous query watermark).
  • Enum Constant Details

    • FAIL

      public static final SourceOffsetFailMode FAIL
      Fail the connector if the source offset (continuous query watermark) is too far back in the past (exceeds configured GridGain data availability time).
    • IGNORE

      public static final SourceOffsetFailMode IGNORE
      Ignore invalid offset error and start capturing data events from the current point in time.
  • Method Details

    • values

      public static SourceOffsetFailMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SourceOffsetFailMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null