Package io.debezium.embedded
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 Summary
Constructors Constructor Description InterruptingOffsetStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.apache.kafka.connect.runtime.WorkerConfig workerConfig)Future<Map<ByteBuffer,ByteBuffer>>get(Collection<ByteBuffer> collection)Future<Void>set(Map<ByteBuffer,ByteBuffer> map, org.apache.kafka.connect.util.Callback<Void> callback)Implementation that throws InterruptedException when offset commits are called.voidstart()voidstop()
-
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceorg.apache.kafka.connect.storage.OffsetBackingStore
-
stop
public void stop()
- Specified by:
stopin interfaceorg.apache.kafka.connect.storage.OffsetBackingStore
-
get
public Future<Map<ByteBuffer,ByteBuffer>> get(Collection<ByteBuffer> collection)
- Specified by:
getin interfaceorg.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:
setin interfaceorg.apache.kafka.connect.storage.OffsetBackingStore
-
configure
public void configure(org.apache.kafka.connect.runtime.WorkerConfig workerConfig)
- Specified by:
configurein interfaceorg.apache.kafka.connect.storage.OffsetBackingStore
-
-