You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/08/03 01:24:41 UTC

[GitHub] [pulsar] BewareMyPower commented on pull request #11535: [Issue 11493] Fix #11493. Simple implementation of getting number of references from C++ client

BewareMyPower commented on pull request #11535:
URL: https://github.com/apache/pulsar/pull/11535#issuecomment-891438717


   > For PartitionedProducer/PartitionedConsumer/MultiTopicConsumer which consist of more than one consumer/producer. They should be counted as one or more reference?
   
   I think it should be counted as multiple references. For example, if you created a producer of a 3 partitions topic, there're actually 3 TCP connections.
   
   > When created reader from client, client add reader's consumer to its consumer list. Should we remove getNumberOfReader()? I haven't implemented this function yet.
   
   `Reader` is just treated as a `Consumer`, so I think we can remove the `getNumberOfReader()` method.


-- 
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-unsubscribe@pulsar.apache.org

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