Package io.debezium.connector.common
Class OffsetReader<P extends Partition,O extends OffsetContext,L extends OffsetContext.Loader<O>>
java.lang.Object
io.debezium.connector.common.OffsetReader<P,O,L>
public class OffsetReader<P extends Partition,O extends OffsetContext,L extends OffsetContext.Loader<O>>
extends Object
Provides access to the partition offsets stored by connectors.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOffsetReader
(org.apache.kafka.connect.storage.OffsetStorageReader reader, L loader) -
Method Summary
-
Field Details
-
reader
private final org.apache.kafka.connect.storage.OffsetStorageReader reader -
loader
-
-
Constructor Details
-
OffsetReader
-
-
Method Details
-
offsets
Given the collection of connector-specific task partitions, returns their respective connector-specific offsets. If there is no offset stored for a given partition, the corresponding key will be mapped to a null.
-