Closed MartinHou closed 1 year ago
It may not a problem of Mysql CDC. You can use print to log Mysql CDC source's data.If it includes [+I], [-U] and [+U], it means that cdc source is correct, maybe some thing wrong in Iceberg Sink.
It may not a problem of Mysql CDC. You can use print to log Mysql CDC source's data.If it includes [+I], [-U] and [+U], it means that cdc source is correct, maybe some thing wrong in Iceberg Sink.
Thanks for the reply! Yes, the CDC source is printing the correct events. Maybe the it's not a cdc problem.
Search before asking
Flink version
1.16.2
Flink CDC version
flink-sql-connector-mysql-cdc-2.2.1
Database and its version
MySQL 5.7
Minimal reproduce step
First, create a new table in Iceberg
Then, run these
def run(): env = StreamExecutionEnvironment.get_execution_environment() env.set_parallelism(1).enable_checkpointing(2000, CheckpointingMode.EXACTLY_ONCE)