Search code examples
apache-kafkadebeziumbinlog

How to let debezium start reading binlog from the last row


I'm trying to let Debezium start reading the binlog from the bottom of the file directly. Could someone help in this matter please ?


Solution

  • Based on the docs it looks like you can use snapshot.mode=schema_only:

    If you don’t need the topics to contain a consistent snapshot of the data but only need them to have the changes since the connector was started, you can use the schema_only option, where the connector only snapshots the schemas (not the data).