public class PulsarOffsetBackingStore extends Object implements org.apache.kafka.connect.storage.OffsetBackingStore
OffsetBackingStore that uses a Pulsar topic to store offset data.| Constructor and Description |
|---|
PulsarOffsetBackingStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.kafka.connect.runtime.WorkerConfig workerConfig) |
Future<Map<ByteBuffer,ByteBuffer>> |
get(Collection<ByteBuffer> keys,
org.apache.kafka.connect.util.Callback<Map<ByteBuffer,ByteBuffer>> callback) |
Future<Void> |
set(Map<ByteBuffer,ByteBuffer> values,
org.apache.kafka.connect.util.Callback<Void> callback) |
void |
start() |
void |
stop() |
public void configure(org.apache.kafka.connect.runtime.WorkerConfig workerConfig)
configure in interface org.apache.kafka.connect.storage.OffsetBackingStorepublic 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> keys, org.apache.kafka.connect.util.Callback<Map<ByteBuffer,ByteBuffer>> callback)
get in interface org.apache.kafka.connect.storage.OffsetBackingStorepublic Future<Void> set(Map<ByteBuffer,ByteBuffer> values, org.apache.kafka.connect.util.Callback<Void> callback)
set in interface org.apache.kafka.connect.storage.OffsetBackingStoreCopyright © 2017–2021 Apache Software Foundation. All rights reserved.