addisonj opened a new pull request #9419:
URL: https://github.com/apache/pulsar/pull/9419


   ### Motivation
   
   Currently, when a multi-topic subscribe fails (via a set of topics or a
   regex) we can leave consumers connected, as the multitopic consumer
   doesn't close any of the topics.
   
   This means we rely on the client to call closeAsync, otherwise, the
   consumer is left in partially open state.
   ### Modifications
   
   This fix changes that, and ensures we call close in the case of an
   exception
   
   ### Verifying this change
   
   
   This change added tests that ensure that the expected methods are called in 
the event of subscribe failure
   
   
   


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