Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-444

Failed recover from connections issue to the binlog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 0.6
    • mysql-connector
    • None

      in a case i have connection issue to the bin log from any reason
      and have this error
      "org.apache.kafka.connect.errors.ConnectException: Connection reset
      at io.debezium.connector.mysql.AbstractReader.wrap(AbstractReader.java:164)
      at io.debezium.connector.mysql.AbstractReader.failed(AbstractReader.java:131)
      at io.debezium.connector.mysql.BinlogReader$ReaderThreadLifecycleListener.onCommunicationFailure(BinlogReader.java:715)
      at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:768)
      at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:472)
      at com.github.shyiko.mysql.binlog.BinaryLogClient$5.run(BinaryLogClient.java:657)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(Unknown Source)
      at java.net.SocketInputStream.read(Unknown Source)
      at com.github.shyiko.mysql.binlog.io.BufferedSocketInputStream.read(BufferedSocketInputStream.java:51)
      at com.github.shyiko.mysql.binlog.io.ByteArrayInputStream.readWithinBlockBoundaries(ByteArrayInputStream.java:202)
      at com.github.shyiko.mysql.binlog.io.ByteArrayInputStream.peek(ByteArrayInputStream.java:175)
      at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:726)
      ... 3 more
      "
      connector restart not solving the issue only remove and add the connector again
      open and issue for that
      can i configure retry for that by the way?

            Unassigned Unassigned
            shlomihassan shlomi hassan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: