flink-cdc icon indicating copy to clipboard operation
flink-cdc copied to clipboard

[mysql] Fix use latest-offset mode during caused add newly table not …

Open minchowang opened this issue 3 years ago • 3 comments

…to be capture.

fiexs: #1184

minchowang avatar May 16 '22 09:05 minchowang

If the tablename like this log_role_create_tlbbrybwx_2022(?!(01|02|03|04)).* can work?

dailai avatar May 19 '22 06:05 dailai

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.

minchowang avatar May 20 '22 13:05 minchowang

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.

yuxiqian avatar Apr 25 '24 07:04 yuxiqian