Class InterruptingOffsetStore

  • All Implemented Interfaces:
    org.apache.kafka.connect.storage.OffsetBackingStore

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

      • InterruptingOffsetStore

        InterruptingOffsetStore()
    • Method Detail

      • 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
      • 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