Package io.debezium.engine.source
Interface DebeziumSourceConnectorContext
- All Known Implementing Classes:
EngineSourceConnectorContext
@Incubating
public interface DebeziumSourceConnectorContext
DebeziumSourceConnectorContext holds useful objects used during the lifecycle of DebeziumSourceConnector.- Author:
- vjuranek
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.kafka.connect.storage.OffsetStorageReaderReturns theOffsetStorageReaderfor this DebeziumConnectorContext.org.apache.kafka.connect.storage.OffsetStorageWriterReturns theOffsetStorageWriterfor this DebeziumConnectorContext.org.apache.kafka.connect.storage.OffsetBackingStoreReturns theOffsetBackingStoreused by this connector.
-
Method Details
-
offsetStore
org.apache.kafka.connect.storage.OffsetBackingStore offsetStore()Returns theOffsetBackingStoreused by this connector. This should be used mainly for proper closing the offset backing store.- Returns:
- the
OffsetBackingStoreuse by this connector.
-
offsetStorageReader
org.apache.kafka.connect.storage.OffsetStorageReader offsetStorageReader()Returns theOffsetStorageReaderfor this DebeziumConnectorContext.- Returns:
- the OffsetStorageReader for this connector.
-
offsetStorageWriter
org.apache.kafka.connect.storage.OffsetStorageWriter offsetStorageWriter()Returns theOffsetStorageWriterfor this DebeziumConnectorContext.- Returns:
- the OffsetStorageWriter for this connector.
-