如何让debezium从最后一行开始读取binlog
How to let debezium start reading binlog from the last row
我试图让 Debezium 直接从文件底部开始读取二进制日志。
有人可以帮忙解决这个问题吗?
基于 the docs 看起来你可以使用 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).
我试图让 Debezium 直接从文件底部开始读取二进制日志。 有人可以帮忙解决这个问题吗?
基于 the docs 看起来你可以使用 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).