Class AbstractBinaryLogClientConfigurator

java.lang.Object
io.debezium.connector.mysql.strategy.AbstractBinaryLogClientConfigurator
All Implemented Interfaces:
BinaryLogClientConfigurator
Direct Known Subclasses:
MariaDbBinaryLogClientConfigurator, MySqlBinaryLogClientConfigurator

public abstract class AbstractBinaryLogClientConfigurator extends Object implements BinaryLogClientConfigurator
Author:
Chris Cranford
  • Field Details

  • Constructor Details

    • AbstractBinaryLogClientConfigurator

      public AbstractBinaryLogClientConfigurator(MySqlConnectorConfig connectorConfig)
  • Method Details

    • configure

      public com.github.shyiko.mysql.binlog.BinaryLogClient configure(com.github.shyiko.mysql.binlog.BinaryLogClient client, ThreadFactory threadFactory, AbstractConnectorConnection connection)
      Description copied from interface: BinaryLogClientConfigurator
      Configures the provided Binary Log Client instance.
      Specified by:
      configure in interface BinaryLogClientConfigurator
      Parameters:
      client - the client instance ot be configured; should not be null
      threadFactory - the thread factory to be used; should not be null
      connection - the connector's JDBC connection; should not be null
      Returns:
      the configured binary log client instance
    • createEventDeserializer

      protected com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer createEventDeserializer()
    • getIncludeSqlQueryEventType

      public com.github.shyiko.mysql.binlog.event.EventType getIncludeSqlQueryEventType()
      Specified by:
      getIncludeSqlQueryEventType in interface BinaryLogClientConfigurator
    • getConnectorConfig

      protected MySqlConnectorConfig getConnectorConfig()
    • configureReplicaCompatibility

      protected void configureReplicaCompatibility(com.github.shyiko.mysql.binlog.BinaryLogClient client)
    • sslModeFor

      private com.github.shyiko.mysql.binlog.network.SSLMode sslModeFor(MySqlConnectorConfig.SecureConnectionMode mode)
    • getBinlogSslSocketFactory

      private com.github.shyiko.mysql.binlog.network.SSLSocketFactory getBinlogSslSocketFactory(MySqlConnectorConfig connectorConfig, AbstractConnectorConnection connection)