[MXS-2415] data for new AVRO versions is not send via cdc Created: 2019-04-02  Updated: 2019-04-17  Resolved: 2019-04-17

Status: Closed
Project: MariaDB MaxScale
Component/s: avrorouter, cdc
Affects Version/s: 2.3.4
Fix Version/s: 2.3.7

Type: Bug Priority: Major
Reporter: Jonas Seiler Assignee: markus makela
Resolution: Fixed Votes: 0
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?



 Comments   
Comment by markus makela [ 2019-04-17 ]

This might have been caused by a bug in the event processing of avrorouter which will be fixed in 2.3.7.

Generated at Thu Feb 08 04:13:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.