zengxiaobai edited a comment on issue #204: PushConsumer网络中断重连异常
URL: 
https://github.com/apache/rocketmq-client-cpp/issues/204#issuecomment-558905332
 
 
   > > I have met the same issue. And I solved this tmply by restart the 
client,becasue sometimes consumer.shutdown will coredump.
   > > Your error log is very much like mine, #202
   > 
   > 嗯,重新启动可以连接成功,但是重启客户端这个方法在实际中使用的时候不方便,因为这个方法的前提是上层应用侦测到TCP中断
   
   I use gorutine to exec ’lsof -p pid -nP‘ in cycles to detect alive 
connections of 10911 port. Also program should store the tasks to disk and 
rebuild tasks from disk when restarting the program( 
https://github.com/zengxiaobai/task-manage ). In my case, restart action is not 
very often.
   I use the temply way above until I have time to read the source code of 
rocketmq-client-cpp lib and solve it.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to