Class OffsetCommitModes
java.lang.Object
org.apache.flink.streaming.connectors.kafka.config.OffsetCommitModes
Deprecated.
Utilities for
OffsetCommitMode.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OffsetCommitModefromConfiguration(boolean enableAutoCommit, boolean enableCommitOnCheckpoint, boolean enableCheckpointing) Deprecated.Determine the offset commit mode using several configuration values.
-
Constructor Details
-
OffsetCommitModes
public OffsetCommitModes()Deprecated.
-
-
Method Details
-
fromConfiguration
public static OffsetCommitMode fromConfiguration(boolean enableAutoCommit, boolean enableCommitOnCheckpoint, boolean enableCheckpointing) Deprecated.Determine the offset commit mode using several configuration values.- Parameters:
enableAutoCommit- whether or not auto committing is enabled in the provided Kafka properties.enableCommitOnCheckpoint- whether or not committing on checkpoints is enabled.enableCheckpointing- whether or not checkpoint is enabled for the consumer.- Returns:
- the offset commit mode to use, based on the configuration values.
-