flink-cdc
flink-cdc copied to clipboard
[mysql] Fix use latest-offset mode during caused add newly table not …
…to be capture.
fiexs: #1184
If the tablename like this log_role_create_tlbbrybwx_2022(?!(01|02|03|04)).* can work?
If the tablename like this log_role_create_tlbbrybwx_2022(?!(01|02|03|04)).* can work?
Do you mean table-name is a regex tablename? This patch was only fixed add new tables and using the latest-offset mode, which caused not capturing for binlog problems.
Hi @minchowang, thanks for your contribution! Seems this feature has been covered by adding a new checkNewlyAddedTableSchema option. Feel free to reopen this PR if you have any concerns.