ainokiseki opened a new issue, #610:
URL: https://github.com/apache/rocketmq-clients/issues/610

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq-clients/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq-clients/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq-clients/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Programming Language of the Client
   
   Go
   
   ### Runtime Platform Environment
   
   Ubuntu 20.04
   
   ### RocketMQ Version of the Client/Server
   
   git commit id:41bfbcf6130d
   
   ### Run or Compiler Version
   
   _No response_
   
   ### Describe the Bug
   
   
https://github.com/apache/rocketmq-clients/blob/92c627d55af415a5597ee9ea0efff27c313582b5/golang/client.go#L103
   this for loop will never break out, leading goroutine leak when creating new 
connection repeatly
   
   ### Steps to Reproduce
   
   creating new clients(SimpleConsumer) and close it, do this repeatly
   
   ### What Did You Expect to See?
   
   after i call SimpleConsumer.GracefulStop(), i expect all goroutine should be 
recycled.
   
   ### What Did You See Instead?
   
   goroutine leaks
   
   ### Additional Context
   
   _No response_


-- 
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: commits-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to