Package io.debezium.connector.mysql
Class MySqlTaskContext
- java.lang.Object
-
- io.debezium.connector.common.CdcSourceTaskContext
-
- io.debezium.connector.mysql.MySqlTaskContext
-
public class MySqlTaskContext extends CdcSourceTaskContext
A state (context) associated with a MySQL task- Author:
- Jiri Pechanec
-
-
Field Summary
Fields Modifier and Type Field Description private com.github.shyiko.mysql.binlog.BinaryLogClient
binaryLogClient
private MySqlDatabaseSchema
schema
private TopicSelector<TableId>
topicSelector
-
Constructor Summary
Constructors Constructor Description MySqlTaskContext(MySqlConnectorConfig config, MySqlDatabaseSchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.shyiko.mysql.binlog.BinaryLogClient
getBinaryLogClient()
MySqlDatabaseSchema
getSchema()
TopicSelector<TableId>
getTopicSelector()
-
Methods inherited from class io.debezium.connector.common.CdcSourceTaskContext
capturedDataCollections, configureLoggingContext, getClock, getConnectorName, getConnectorType, temporaryLoggingContext
-
-
-
-
Field Detail
-
schema
private final MySqlDatabaseSchema schema
-
binaryLogClient
private final com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient
-
topicSelector
private final TopicSelector<TableId> topicSelector
-
-
Constructor Detail
-
MySqlTaskContext
public MySqlTaskContext(MySqlConnectorConfig config, MySqlDatabaseSchema schema)
-
-
Method Detail
-
getSchema
public MySqlDatabaseSchema getSchema()
-
getBinaryLogClient
public com.github.shyiko.mysql.binlog.BinaryLogClient getBinaryLogClient()
-
getTopicSelector
public TopicSelector<TableId> getTopicSelector()
-
-