Class CustomTestSnapshot

java.lang.Object
io.debezium.connector.mongodb.CustomTestSnapshot
All Implemented Interfaces:
io.debezium.spi.common.Configurable, io.debezium.spi.snapshot.Snapshotter

public class CustomTestSnapshot extends Object implements io.debezium.spi.snapshot.Snapshotter
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • CustomTestSnapshot

      public CustomTestSnapshot()
  • Method Details

    • name

      public String name()
      Specified by:
      name in interface io.debezium.spi.snapshot.Snapshotter
    • configure

      public void configure(Map<String,?> properties)
      Specified by:
      configure in interface io.debezium.spi.common.Configurable
    • shouldSnapshotData

      public boolean shouldSnapshotData(boolean offsetExists, boolean snapshotInProgress)
      Specified by:
      shouldSnapshotData in interface io.debezium.spi.snapshot.Snapshotter
    • shouldStream

      public boolean shouldStream()
      Specified by:
      shouldStream in interface io.debezium.spi.snapshot.Snapshotter
    • shouldSnapshotSchema

      public boolean shouldSnapshotSchema(boolean offsetExists, boolean snapshotInProgress)
      Specified by:
      shouldSnapshotSchema in interface io.debezium.spi.snapshot.Snapshotter
    • shouldSnapshotOnSchemaError

      public boolean shouldSnapshotOnSchemaError()
      Specified by:
      shouldSnapshotOnSchemaError in interface io.debezium.spi.snapshot.Snapshotter
    • shouldSnapshotOnDataError

      public boolean shouldSnapshotOnDataError()
      Specified by:
      shouldSnapshotOnDataError in interface io.debezium.spi.snapshot.Snapshotter