nortrom-lh commented on issue #276:
URL: https://github.com/apache/flink-cdc/issues/276#issuecomment-2309726142

   在等待社区大佬处理时,在https://debezium.io/上发现类似的报错,有调整MySQL参数验证过没?
   What is causing intermittent EventDataDeserializationExceptions with the 
MySQL connector?
   When you run into intermittent deserialization exceptions around 1 minute 
after starting connector, with a root cause of type EOFException or 
java.net.SocketException: Connection reset:
   
   Caused by: 
com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializationException:
 Failed to deserialize data of EventHeaderV4{timestamp=1542193955000, 
eventType=GTID, serverId=91111, headerLength=19, dataLength=46, 
nextPosition=1058898202, flags=0}
   Caused by: java.lang.RuntimeException: 
com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializationException:
 Failed to deserialize data of EventHeaderV4{timestamp=1542193955000, 
eventType=GTID, serverId=91111, headerLength=19, dataLength=46, 
nextPosition=1058898202, flags=0}
   Caused by: java.io.EOFException
   
   or
   
   Caused by: java.net.SocketException: Connection reset
   Then updating these MySQL server global properties like this will fix it:
   
   set global slave_net_timeout = 120; (default was 30sec)
   set global thread_pool_idle_timeout = 120;


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to