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 Type
    Method
    Description
    Gets the Clock which should be used with OffsetCommitPolicy for this task.
    Gets the configuration with which the task has been started.
    io.debezium.engine.spi.OffsetCommitPolicy
    Gets the OffsetCommitPolicy for this task.
    org.apache.kafka.connect.storage.OffsetStorageReader
    Gets the OffsetStorageReader for this SourceTask.
    org.apache.kafka.connect.storage.OffsetStorageWriter
    Gets the OffsetStorageWriter for this SourceTask.
    Gets the transformations which the task should apply to source events before passing them to the consumer.
  • Method Details

    • config

      Map<String,String> config()
      Gets the configuration with which the task has been started.
    • offsetStorageReader

      org.apache.kafka.connect.storage.OffsetStorageReader offsetStorageReader()
      Gets the OffsetStorageReader for this SourceTask.
    • offsetStorageWriter

      org.apache.kafka.connect.storage.OffsetStorageWriter offsetStorageWriter()
      Gets the OffsetStorageWriter for this SourceTask.
    • offsetCommitPolicy

      io.debezium.engine.spi.OffsetCommitPolicy offsetCommitPolicy()
      Gets the OffsetCommitPolicy for this task.
    • clock

      Clock clock()
      Gets the Clock which should be used with OffsetCommitPolicy for this task.
    • transformations

      Transformations transformations()
      Gets the transformations which the task should apply to source events before passing them to the consumer.