Package io.debezium.connector.binlog
Class BinlogStreamingChangeEventSource.ReaderThreadLifecycleListener
java.lang.Object
io.debezium.connector.binlog.BinlogStreamingChangeEventSource.ReaderThreadLifecycleListener
- All Implemented Interfaces:
com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
- Enclosing class:
- BinlogStreamingChangeEventSource<P extends BinlogPartition,
O extends BinlogOffsetContext>
protected final class BinlogStreamingChangeEventSource.ReaderThreadLifecycleListener
extends Object
implements com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonCommunicationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex) voidonConnect(com.github.shyiko.mysql.binlog.BinaryLogClient client) voidonDisconnect(com.github.shyiko.mysql.binlog.BinaryLogClient client) voidonEventDeserializationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex)
-
Field Details
-
offsetContext
-
-
Constructor Details
-
ReaderThreadLifecycleListener
ReaderThreadLifecycleListener(O offsetContext)
-
-
Method Details
-
onDisconnect
public void onDisconnect(com.github.shyiko.mysql.binlog.BinaryLogClient client) - Specified by:
onDisconnectin interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
onConnect
public void onConnect(com.github.shyiko.mysql.binlog.BinaryLogClient client) - Specified by:
onConnectin interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
onCommunicationFailure
public void onCommunicationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex) - Specified by:
onCommunicationFailurein interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
onEventDeserializationFailure
public void onEventDeserializationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex) - Specified by:
onEventDeserializationFailurein interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-