Package org.gridgain.kafka.source
Enum Class SourceOffsetFailMode
- All Implemented Interfaces:
Serializable,Comparable<SourceOffsetFailMode>,Constable
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).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceOffsetFailModeReturns the enum constant of this class with the specified name.static SourceOffsetFailMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
Ignore invalid offset error and start capturing data events from the current point in time.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-