mysql-binlog-connector-java
mysql-binlog-connector-java copied to clipboard
Failed to deserialize data of EventHeaderV4
After running for a long time, we get an error:
Failed to deserialize data of EventHeaderV4{timestamp=1701164723000, eventType=UPDATE_ROWS, serverId=179003860, headerLength=19, dataLength=4255, nextPosition=427381925, flags=0}: com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializationException: Failed to deserialize data of EventHeaderV4{timestamp=1701164723000, eventType=UPDATE_ROWS, serverId=179003860, headerLength=19, dataLength=4255, nextPosition=427381925, flags=0}
Caused by: java.io.EOFException: Failed to read remaining 216 of 787 bytes from position 117209190. Block length: 2686. Initial block length: 4251.
After that, the program works fine, but there may be data loss, what could be the cause of this thanks!