pandaapo commented on issue #4587:
URL: https://github.com/apache/eventmesh/issues/4587#issuecomment-1833101500

   > but for grcp, once the runtime crashes, `io.grpc.stub.StreamObserver` will 
be marked as completed. At this time, the client will no longer be able to send 
heartbeat packets, and will not be able to reconnect to the runtime.
   
   About the first of the two questions you asked, calling the #onCompleted() 
method in StreamObserver#onError() generally does not result in reconnection 
failure. This logic only indicates that there is a problem with the server 
causing the stream to be interrupted, and the client directly processes it as a 
received response. Under normal circumstances, gPRC supports reconnection by 
default. Unable to reconnect now, perhaps due to a bug elsewhere. cc @mxsm.
   
   
关于您提的两个问题中的第一个,StreamObserver#onError()中调用#onCompleted()方法,一般不会导致无法重连。这种逻辑只是表示服务端出现问题导致流中断了,客户端直接处理为已接收响应。正常情况下,gPRC是默认支持重连的。现在无法重连,也许是其他地方的bug。抄送@mxsm。


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to