lrhkobe commented on issue #349:
URL: 
https://github.com/apache/incubator-eventmesh/issues/349#issuecomment-841659952


   Thank you for your question.
   
   In case of  Eventmesh Runtime Server restart,  the server will disconnect 
all the client connected to this server, in the same time, it will manage the 
subscription,clear all the subscription.
   
   As to EventMeshTcpServer, the necessary process of client conncting to 
Eventmesh Runtime is as follows:
   
   - send the command of `HELLO_REQUEST`  to EventMesh Runtime for creating 
connection;
   - send the command of `SUBSCRIBE_REQUEST` to EventMesh Runtime for 
subscribing topics;
   - send the command of `LISTEN_REQUEST` to EventMesh Runtime for starting 
consume;
   
   So when  EventMesh Runtime stoppig, the client will reconnect to other 
Eventmesh Runtime instance, and the subscription will manage in the new 
instance. When EventMesh  Runtime starting ,the client will do the necessary 
process above.
   
   Because the subscription is relative to clients connecting to this EventMesh 
Runtime Server, in case of EventMesh Runtime Server restart, the clients which 
will connet to this server may change, so as to  this view, the persist of 
subscription may be unnecessay.
   
   You can compare EventMeshHttpServer with EventMeshTcpServer, thanks for your 
suggestion again.
   
   


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



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

Reply via email to