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

Avrorouter generates empty avro files in CDC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.9
    • Fix Version/s: 2.3.8
    • Component/s: avrorouter
    • Labels:
      None
    • Environment:
      Red Hat RHEL 7.5

      Description

      Hello,
      I have enabled the binlog service and the avrorouter in order to have CDC Json logs on Maxscale, the binlog service works fine, generating the binlog files correctly.
      The avrorouter, instead, produces a well-constructed avsc file but the avro file remains empty (0 bytes size).

      The main error that I can see are:

      2018-07-04 15:54:44 error : [avrorouter] Avro error: Cannot read 4 bytes from file
      2018-07-04 15:54:44 error : [avrorouter] Failed to open new Avro file for writing.
      2018-07-04 15:54:44 error : Failed to read file magic marker from '/var/lib/maxscale/test.t6.000001.avro'

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            paridee Paride Casulli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration