MarvinCai opened a new issue #10010:
URL: https://github.com/apache/pulsar/issues/10010


   **Is your enhancement request related to a problem? Please describe.**
    When creating a java pulsarclient,if the constructor throws exception, 
resources created like executor won't be properly released, and if user code 
keep retrying it'll eventually cause OOM. It can happen if user make a typo in 
broker url, like "htps://localhost:6651"
   
   **Describe the solution you'd like**
   Catch exception in constructor and properly release allocated resources.
   


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


Reply via email to