I'm trying to set up a CDC source for MySQL, but I want to skip the historical snapshot and only read the binlogs. Is there a way to configure the CDC connector to do this?
Sumit Singh
Asked on Dec 19, 2023
For the create source
syntax, we don't support this mode yet. But you can use the create table
syntax to achieve this goal: add this option debezium.snapshot.mode='schema_only'
to the WITH clause of the CREATE TABLE command suppose you are using mysql-cdc.