Closed shivnagarajan closed 2 years ago
This changes the code to provide the ability to add a binlogEvent
handler for individual events. The golang
test has been updated to test adding such a handler for a query event
and validates that it actually works.
Since the code no longer needs to parse the binlog events explicitly, we did not need to pull in the full parser for the ddl events that we had earlier.
I just rebased this to latest master. Will clean up a little based on the remaining comments.
This is a slightly alternate version of
https://github.com/Shopify/ghostferry/pull/322
@pawandubey