pandaapo opened a new issue, #4144: URL: https://github.com/apache/eventmesh/issues/4144
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues. ### Environment Windows ### EventMesh version master ### What happened When the TCP subscriber is closed, eventmesh-runtime is still subscribing to related topics. ### How to reproduce Use `org.apache.eventmesh.tcp.demo.pub.cloudevents.AsyncPublish` in `eventmesh-examples` to push messages. Use `org.apache.eventmesh.tcp.demo.sub.cloudevents.AsyncSubscribe` in `eventmesh-examples` to subscribe the topic. After message are consumed successfully, close `AsyncSubscribe`. Use `org.apache.eventmesh.tcp.demo.pub.cloudevents.AsyncPublish` in `eventmesh-examples` to push messages again. Then some messages will still be consumed. This should not happen. ### Debug logs _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! -- 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]
