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

[enhancement] [ cdc-connector] [ignore no primary key table] When using regular expressions to synchronize the entire database with Flink CDC, skip tables that do not have a primary key.

Open everhopingandwaiting opened this issue 2 years ago • 0 comments

Search before asking

  • [x] I searched in the issues and found nothing similar.

Motivation

If regular expressions are used to match the tables to be synchronized, and some tables in the database do not have a primary key, when submitting a task with Flink CDC 3.0, an error occurs. Can we add an option to skip the synchronization of tables without a primary key, such as ignore-no-primary-key-table: true?

Flink version 1.18

Flink CDC version 3.0.0

Database and its version Mysql 5.7 , StarRocks 3.2.2

Solution

ignore-no-primary-key-table: true

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

everhopingandwaiting avatar Jan 18 '24 03:01 everhopingandwaiting