Open zhengqiangtan opened 4 years ago
Network jitter. Every duration the streaming application will request a new offset from the binlog server, and they communicate with a socket. When the network is unstable, the connection may be broken and the streaming application may be not able to read data from the connection.
Make sure when the application fails you can restart it automatically. And we will also try to add some retry mechanism on the socket communication in the future. Thanks for your feedback.
We are looking forward to add some retry mechanism on the socket communication in the future,because it is very necessary, thanks for the answer!
I have no idea why did my streaming program failed after running for a while.
Yesterday, a few hours after I started the program to run steadily, I received an email warning that my program had failed. Fortunately, I set up the automatic recovery of failure. The following is the detailed error information。
@allwefantasy Can you give me some advice to avoid such problems? thanks~