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 -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(org.apache.kafka.connect.runtime.WorkerConfig workerConfig) get(Collection<ByteBuffer> collection) set(Map<ByteBuffer, ByteBuffer> map, org.apache.kafka.connect.util.Callback<Void> callback) Implementation that throws InterruptedException when offset commits are called.voidstart()voidstop()
-
Constructor Details
-
InterruptingOffsetStore
InterruptingOffsetStore()
-
-
Method Details
-
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
- 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
-