osheroff / mysql-binlog-connector-java

MySQL Binary Log connector
641 stars 161 forks source link

Can the last_committed field be added when parsing gtidEvent events? #129

Closed kjyyc closed 7 months ago

kjyyc commented 8 months ago

Here is the content of a binlog file: Snipaste_2023-11-01_17-11-48

Currently, there is no event that can obtain the last_committed field. I need to use this field to parallel replay SQL to the target MySQL.

I hope this tool can add this field to 'gtid_event'.

image

PS: mysql binary event:

image
methodmissing commented 8 months ago

references WIP https://github.com/osheroff/mysql-binlog-connector-java/pull/130

Naros commented 7 months ago

This should be fixed in 0.29.0 @kjyyc, closing.