hhuang1231 opened a new issue, #4587:
URL: https://github.com/apache/eventmesh/issues/4587

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Question
   
   The connection between the client and the runtime can be maintained through 
heartbeat detection. For http and tcp, when the runtime crashes and then 
restarts, the connection can be reacquired through the heartbeat packet, 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.
   
   Please tell me if this is a bug?
   
   ---
   
通过心跳检测可以保持client与runtime的连接。对于http和tcp来说,当runtime宕机再重启后,通过心跳包可以重新获取连接,但是对于grcp来说,一旦runtime宕机就会标记`io.grpc.stub.StreamObserver`为completed。此时client将无法再发送心跳包,进而无法重新连接runtime。
   
   请问这是否是个bug?
   
   
![image](https://github.com/apache/eventmesh/assets/122422744/59e77e9a-02eb-4a15-9b49-c5540197068a)
   
   
![image](https://github.com/apache/eventmesh/assets/122422744/71c95c58-ca59-4299-8bbb-4484c062d4e5)
   
![image](https://github.com/apache/eventmesh/assets/122422744/22424bb2-94bf-4c24-bcc3-a9944575720b)
   


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