manjupriya-ar opened a new issue #11493:
URL: https://github.com/apache/pulsar/issues/11493


   **Is your feature request related to a problem? Please describe.**
   Pulsar Version: 2.7.2
   Pulsar Client: Pulsar CPP Client
   
   In Pulsar, we use a single client to create multiple 
producers/consumers/readers. Is there any method/attribute that can give 
information on number of producers/readers/consumers connected to the given 
pulsar client instance at the given point of time?
   
   Say there is a single pulsar client instance. Multiple consumers and readers 
are created from the given client instance. This client needs to be cleaned up 
when all the references are closed. In this case, it would be of help, to get 
information on the number of the consumers/readers/ getPartitionsForTopic calls 
are active on the given client. Ie, having the number of references for the 
given client can provide information on whether it is fine to clean up the 
client instance at the given point of time.
   
   **Describe the solution you'd like**
   A way to get the number of references to the given pulsar client instance at 
a given point of time.
   
   


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