Package io.debezium.engine.source
Interface DebeziumSourceTaskContext
- All Known Implementing Classes:
EngineSourceTaskContext
@Incubating
public interface DebeziumSourceTaskContext
DebeziumSourceTaskContext holds useful objects used during the lifecycle of DebeziumSourceTask.- Author:
- vjuranek
-
Method Summary
Modifier and TypeMethodDescriptionclock()Gets theClockwhich should be used withOffsetCommitPolicyfor this task.config()Gets the configuration with which the task has been started.io.debezium.engine.spi.OffsetCommitPolicyGets theOffsetCommitPolicyfor this task.org.apache.kafka.connect.storage.OffsetStorageReaderGets theOffsetStorageReaderfor this SourceTask.org.apache.kafka.connect.storage.OffsetStorageWriterGets theOffsetStorageWriterfor this SourceTask.Gets the transformations which the task should apply to source events before passing them to the consumer.
-
Method Details
-
config
Gets the configuration with which the task has been started. -
offsetStorageReader
org.apache.kafka.connect.storage.OffsetStorageReader offsetStorageReader()Gets theOffsetStorageReaderfor this SourceTask. -
offsetStorageWriter
org.apache.kafka.connect.storage.OffsetStorageWriter offsetStorageWriter()Gets theOffsetStorageWriterfor this SourceTask. -
offsetCommitPolicy
io.debezium.engine.spi.OffsetCommitPolicy offsetCommitPolicy()Gets theOffsetCommitPolicyfor this task. -
clock
Clock clock()Gets theClockwhich should be used withOffsetCommitPolicyfor this task. -
transformations
Transformations transformations()Gets the transformations which the task should apply to source events before passing them to the consumer.
-