class InterruptingOffsetStore extends Object implements org.apache.kafka.connect.storage.OffsetBackingStore
| Constructor and Description |
|---|
InterruptingOffsetStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(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.
|
void |
start() |
void |
stop() |
public void start()
start in interface org.apache.kafka.connect.storage.OffsetBackingStorepublic void stop()
stop in interface org.apache.kafka.connect.storage.OffsetBackingStorepublic Future<Map<ByteBuffer,ByteBuffer>> get(Collection<ByteBuffer> collection)
get in interface org.apache.kafka.connect.storage.OffsetBackingStorepublic Future<Void> set(Map<ByteBuffer,ByteBuffer> map, org.apache.kafka.connect.util.Callback<Void> callback)
set in interface org.apache.kafka.connect.storage.OffsetBackingStorepublic void configure(org.apache.kafka.connect.runtime.WorkerConfig workerConfig)
configure in interface org.apache.kafka.connect.storage.OffsetBackingStoreCopyright © 2021 JBoss by Red Hat. All rights reserved.