-
Enhancement
-
Resolution: Unresolved
-
Major
-
3.0.9.Final, 3.1.0.CR1
-
None
-
False
-
-
False
-
-
MariaDB introduced faster (MDEV-31273) writes in the binlog. The drawback is that some of the events no longer contain next poisition field (it is zero) on which Debezium relies.
Currently it is necessary to enable binlog_legacy_event_pos to make Debezium compatible with MariaDB 11.4+.
To solve the problem it is necessary to either rewrite com.github.shyiko.mysql.binlog.event.EventHeaderV4.getPosition() method or not rely on it but in both cases the current binlog position needs to be tracked.