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

Debezium Connectors are failing while reading binlog: Unknown event type 100

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 1.4.1.Final
    • None
    • mysql-connector
    • None
    • Hide
      • start Kafka 
      • start confluent 
      • Load debezium connector

      After importing all data connector stops working and It's giving an error as mentioned above instead of importing new data.

      Show
      start Kafka  start confluent  Load debezium connector After importing all data connector stops working and It's giving an error as mentioned above instead of importing new data.

    Description

      Connector Status CURL: curl localhost:8083/connectors/mysql-connector-db/status | jq
       
      Response:
      {
      "name": "mysql-connector-db",
      "connector": {
      "state": "RUNNING",
      "worker_id": "<IP_ADDRESS>:8083"
      },
      "tasks": [
      {
      "id": 0,
      *"state": "FAILED",*
      "worker_id": "<IP_ADDRESS>:8083",
      "trace": "org.apache.kafka.connect.errors.ConnectException: Unknown event type 100\n\tat io.debezium.connector.mysql.AbstractReader.wrap(AbstractReader.java:230)\n\tat io.debezium.connector.mysql.AbstractReader.failed(AbstractReader.java:196)\n\tat io.debezium.connector.mysql.BinlogReader$ReaderThreadLifecycleListener.onEventDeserializationFailure(BinlogReader.java:1069)\n\tat com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:935)\n\tat com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:580)\n\tat com.github.shyiko.mysql.binlog.BinaryLogClient$7.run(BinaryLogClient.java:825)\n\tat java.lang.Thread.run(Thread.java:748)\nCaused by: java.io.IOException: Unknown event type 100\n\tat com.github.shyiko.mysql.binlog.event.deserialization.EventHeaderV4Deserializer.getEventType(EventHeaderV4Deserializer.java:45)\n\tat com.github.shyiko.mysql.binlog.event.deserialization.EventHeaderV4Deserializer.deserialize(EventHeaderV4Deserializer.java:35)\n\tat com.github.shyiko.mysql.binlog.event.deserialization.EventHeaderV4Deserializer.deserialize(EventHeaderV4Deserializer.java:27)\n\tat com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.nextEvent(EventDeserializer.java:212)\n\tat io.debezium.connector.mysql.BinlogReader$1.nextEvent(BinlogReader.java:239)\n\tat com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:922)\n\t... 3 more\n"
      }
      ],
      "type": "source"
      }
      

      Note:
      we are using MySQL RDS Aurora. |
       
       

      Attachments

        Issue Links

          Activity

            People

              jpechane Jiri Pechanec
              ce.sagararora Sagar Arora (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: