Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-2415

data for new AVRO versions is not send via cdc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.3.7
    • Component/s: avrorouter, cdc
    • Labels:
      None
    • Environment:
      docker mariadb/maxscale:latest
    • Sprint:
      MXS-SPRINT-80

      Description

      I want to stream the change data to kafka using maxscale. I'm using a setup described in https://mariadb.com/kb/en/mariadb-enterprise/mariadb-maxscale-23-avrorouter-tutorial/ in a docker environment. It is working fine except that table changes are not send.
      According to https://mariadb.com/kb/en/mariadb-maxscale-23-change-data-capture-cdc-protocol/ "if new AVRO versions are found (e.g. mydb.mytable.0000002.avro) the new schema and data will be sent as well."

      So if i run:

      cdc.py -u maxscale -ppwd -h 127.0.0.1 db.my_table
      

      It will not stream data for version 000002, but if i add the version i do get the data. e.g. the following command returns data

      cdc.py -u maxscale -ppwd -h 127.0.0.1 db.my_table.000002
      

      Is this a bug or am I doing something wrong?

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            jseiler Jonas Seiler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration