debezium报错:no longer available on the server. Reconfigure the connector to use a snapshot when neede

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,debezium报错)