debezium报错:no longer available on the server. Reconfigure the connector to use a snapshot when neede
完整报错如下:
-“trace”:"io.debezium.DebeziumException: The connector is trying to read binlog starting at SourceInfo [currentGtid=null, currentBinlogFilename=mysql-bin-changelog.210858, currentBinlogPosition=384, currentRowNumber=0, serverId=0, sourceTime=null, threadId=-1, currentQuery=null, tableIds=[], databaseName=null], but this is no longer available on the server. Reconfigure the connector to use a snapshot when needed.
解决方法如下:
"snapshot.mode": "when_needed"

当遇到debezium错误提示'no longer available on the server. Reconfigure the connector to use a snapshot when needed'时,意味着连接器尝试从不再可用的位置读取binlog。解决方法涉及重新配置连接器以在需要时使用快照。
1198

被折叠的 条评论
为什么被折叠?



