[
https://issues.apache.org/jira/browse/FLINK-36042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17873091#comment-17873091
]
xuhaiLong commented on FLINK-36042:
-----------------------------------
Restarting may cause this problem [mysql cdc pipeline recover error from
ck|http://example.com]
> newly added tables capture
> ---------------------------
>
> Key: FLINK-36042
> URL: https://issues.apache.org/jira/browse/FLINK-36042
> Project: Flink
> Issue Type: Bug
> Components: Flink CDC
> Reporter: xuhaiLong
> Priority: Major
>
> CDC Pipeline dynamically adds tables, use this
> [pr|https://github.com/apache/flink-cdc/pull/3411], add the configuration
> item `SCAN_NEWLY_ADDED_TABLE_ENABLED: true`,
> # Submit mysql2sr job
> # Create a table in mysql
> # Capture ddl statements, but
> `org.apache.flink.cdc.connectors.mysql.debezium.reader.BinlogSplitReader#shouldEmit`
> will filter out the newly added table
>
> If restarted based on ck, the new table can be captured to complete table
> creation and data synchronization
--
This message was sent by Atlassian Jira
(v8.20.10#820010)