wolfstudy commented on PR #767:
URL: https://github.com/apache/pulsar-client-go/pull/767#issuecomment-1120167137

   Hello @lhotari 
   
   The processing of #703 is indeed a bit rough. For scenarios where multiple 
topics reuse the same connection, frequent reconnection does have a big impact.
   
   The #703 originally wanted to solve the problem that the #693 could not 
reconnect during the reconnection process. In the Go SDK, there is currently a 
no good way to release the reference of the current connection object like the 
Java SDK, and then return the real TCP connection to the connection pool. 
Therefore, the method of closing the connection is temporarily used in the 
repair of #703.
   
   If there is a more elegant way to handle this, please feel free to 
communicate.


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

Reply via email to