lvyanquan commented on code in PR #3976: URL: https://github.com/apache/flink-cdc/pull/3976#discussion_r2057636249
########## flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/org/apache/flink/cdc/connectors/mysql/source/config/MySqlSourceConfig.java: ########## @@ -132,6 +133,18 @@ public class MySqlSourceConfig implements Serializable { this.dbzProperties = checkNotNull(dbzProperties); this.dbzConfiguration = Configuration.from(dbzProperties); this.dbzMySqlConfig = new MySqlConnectorConfig(dbzConfiguration); + Selectors excludeTableFilter = + (excludeTableList == null + ? null + : new Selectors.SelectorsBuilder().includeTables(excludeTableList).build()); + Tables.TableFilter tableFilter = dbzMySqlConfig.getTableFilters().dataCollectionFilter(); + dbzMySqlConfig + .getTableFilters() + .setDataCollectionFilters( + (TableId tableId) -> + tableFilter.isIncluded(tableId) + && (excludeTableFilter == null + || !excludeTableFilter.isMatch(tableId))); Review Comment: Done in DebeziumOptions. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org