Package io.debezium.connector.binlog
Class BinlogTaskContext<T extends RelationalDatabaseSchema>
java.lang.Object
io.debezium.connector.common.CdcSourceTaskContext
io.debezium.connector.binlog.BinlogTaskContext<T>
Abstract implementation of
CdcSourceTaskContext (state) for binlog-based connectors.- Author:
- Chris Cranford
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.github.shyiko.mysql.binlog.BinaryLogClientprivate final T -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.github.shyiko.mysql.binlog.BinaryLogClientGet the task's underlying binary log client instance.Get the task's database schema instance.Methods inherited from class io.debezium.connector.common.CdcSourceTaskContext
capturedDataCollections, configureLoggingContext, configureLoggingContext, getClock, getConnectorName, getConnectorType, getCustomMetricTags, getTaskId, temporaryLoggingContext
-
Field Details
-
schema
-
binaryLogClient
private final com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient
-
-
Constructor Details
-
BinlogTaskContext
-
-
Method Details
-
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
-