tiflow
tiflow copied to clipboard
sink(ticdc): DDL event support for the Debezium protocol
What problem does this PR solve?
Issue Number: close #11566
What is changed and how it works?
Debezium provides the SQL CREATE, ALTER, or DROP statement that results in the schema change. https://debezium.io/documentation/reference/2.7/connectors/mysql.html#mysql-schema-change-topic This PR implements encoding for the DDL event and checkpoint event.
Check List
Tests
- Unit test
- Integration test
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
yes
Release note
DDL event support for the Debezium protocol