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

Support for mariadb GTID

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • 2.5.0.Beta1
    • 1.7.0.CR1
    • mysql-connector
    • None
    • 0
    • 0% 0%

    Description

      Kafka messages have
      ```
      "gtid": null
      ```
      when reading from mariadb database.

      Looking at https://github.com/debezium/debezium/blob/master/debezium-connector-mysql/src/main/java/io/debezium/connector/mysql/BinlogReader.java it seems that we are only supporting mysql style GTIDs. Otherwise, the integration seems to work.

      Is there any way to enable support for GTIDs in mariadb or is this a feature that needs to be implemented?

      Example snippet from `kafkacat`.

      "payload": {
      "before": null,
      "after":

      { "typeid": 21, "typename": "foo", "typecode": "bar3" }

      ,
      "source":

      { "version": "0.9.5.Final", "connector": "mysql", "name": "formbay", "server_id": 1, "ts_sec": 1568682452, "gtid": null, "file": "mysql-bin.000002", "pos": 740, "row": 0, "snapshot": false, "thread": 0, "db": "fb1", "table": "unittype", "query": null }

      ,
      "op": "c",
      "ts_ms": 1568682452788
      }

      Attachments

        Issue Links

          Activity

            People

              ccranfor@redhat.com Chris Cranford
              dlagos_formbay daniel lagos (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: