Enum Class DebeziumSnapshotMode

java.lang.Object
java.lang.Enum<DebeziumSnapshotMode>
com.hazelcast.enterprise.jet.cdc.DebeziumSnapshotMode
All Implemented Interfaces:
Serializable, Comparable<DebeziumSnapshotMode>, Constable

public enum DebeziumSnapshotMode extends Enum<DebeziumSnapshotMode>
Possible Debezium snapshot modes, that does not require additional mandatory parameters to be set.
  • Enum Constant Details

    • ALWAYS

      public static final DebeziumSnapshotMode ALWAYS
      Always perform a snapshot when starting.
    • INITIAL

      public static final DebeziumSnapshotMode INITIAL
      Perform a snapshot only upon initial startup of a connector.
    • NO_DATA

      public static final DebeziumSnapshotMode NO_DATA
      Never perform a snapshot and only receive logical changes.
    • INITIAL_ONLY

      public static final DebeziumSnapshotMode INITIAL_ONLY
      Perform a snapshot and then stop before attempting to receive any logical changes.
    • WHEN_NEEDED

      public static final DebeziumSnapshotMode WHEN_NEEDED
      Perform a snapshot when it is needed.
    • CONFIGURATION_BASED

      public static final DebeziumSnapshotMode CONFIGURATION_BASED
      Allows control over snapshots by setting connectors properties prefixed with 'snapshot.mode.configuration.based'.
  • Method Details

    • values

      public static DebeziumSnapshotMode[] 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 DebeziumSnapshotMode 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