Class InterruptingOffsetStore

java.lang.Object
io.debezium.embedded.InterruptingOffsetStore
All Implemented Interfaces:
org.apache.kafka.connect.storage.OffsetBackingStore

class InterruptingOffsetStore extends Object implements org.apache.kafka.connect.storage.OffsetBackingStore
  • Constructor Details

    • InterruptingOffsetStore

      InterruptingOffsetStore()
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.apache.kafka.connect.storage.OffsetBackingStore
    • stop

      public void stop()
      Specified by:
      stop in interface org.apache.kafka.connect.storage.OffsetBackingStore
    • get

      public Future<Map<ByteBuffer,ByteBuffer>> get(Collection<ByteBuffer> collection)
      Specified by:
      get in interface org.apache.kafka.connect.storage.OffsetBackingStore
    • set

      public Future<Void> set(Map<ByteBuffer,ByteBuffer> map, org.apache.kafka.connect.util.Callback<Void> callback)
      Implementation that throws InterruptedException when offset commits are called.
      Specified by:
      set in interface org.apache.kafka.connect.storage.OffsetBackingStore
    • configure

      public void configure(org.apache.kafka.connect.runtime.WorkerConfig workerConfig)
      Specified by:
      configure in interface org.apache.kafka.connect.storage.OffsetBackingStore
    • connectorPartitions

      public Set<Map<String,Object>> connectorPartitions(String connectorName)
      Specified by:
      connectorPartitions in interface org.apache.kafka.connect.storage.OffsetBackingStore