Package io.debezium.connector.mysql
Class MySqlStreamingChangeEventSource.ReaderThreadLifecycleListener
java.lang.Object
io.debezium.connector.mysql.MySqlStreamingChangeEventSource.ReaderThreadLifecycleListener
- All Implemented Interfaces:
com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
- Enclosing class:
- MySqlStreamingChangeEventSource
protected final class MySqlStreamingChangeEventSource.ReaderThreadLifecycleListener
extends Object
implements com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCommunicationFailure
(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex) void
onConnect
(com.github.shyiko.mysql.binlog.BinaryLogClient client) void
onDisconnect
(com.github.shyiko.mysql.binlog.BinaryLogClient client) void
onEventDeserializationFailure
(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex)
-
Field Details
-
offsetContext
-
-
Constructor Details
-
ReaderThreadLifecycleListener
ReaderThreadLifecycleListener(MySqlOffsetContext offsetContext)
-
-
Method Details
-
onDisconnect
public void onDisconnect(com.github.shyiko.mysql.binlog.BinaryLogClient client) - Specified by:
onDisconnect
in interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
onConnect
public void onConnect(com.github.shyiko.mysql.binlog.BinaryLogClient client) - Specified by:
onConnect
in interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
onCommunicationFailure
public void onCommunicationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex) - Specified by:
onCommunicationFailure
in interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
onEventDeserializationFailure
public void onEventDeserializationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex) - Specified by:
onEventDeserializationFailure
in interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-