Class BinlogTaskContext<T extends RelationalDatabaseSchema>

java.lang.Object
io.debezium.connector.common.CdcSourceTaskContext
io.debezium.connector.binlog.BinlogTaskContext<T>

public class BinlogTaskContext<T extends RelationalDatabaseSchema> extends CdcSourceTaskContext
Abstract implementation of CdcSourceTaskContext (state) for binlog-based connectors.
Author:
Chris Cranford
  • Field Details

    • schema

      private final T extends RelationalDatabaseSchema schema
    • binaryLogClient

      private final com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient
  • Constructor Details

  • Method Details

    • getSchema

      public T getSchema()
      Get the task's database schema instance.
      Returns:
      the schema instance, never null
    • getBinaryLogClient

      public com.github.shyiko.mysql.binlog.BinaryLogClient getBinaryLogClient()
      Get the task's underlying binary log client instance.
      Returns:
      the binary log client instance, never null