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 2020/11/23 06:23:34 UTC

[GitHub] [pulsar] MarvinCai commented on issue #7717: How can I reuse consumer?

MarvinCai commented on issue #7717:
URL: https://github.com/apache/pulsar/issues/7717#issuecomment-731953280


   @become-nice 
   Hi, are you using python or c++ client only or java is also fine?
   For java there's already method to do that [subscribeToAdditionalTopic](https://github.com/apache/pulsar/blob/72b9f5d96ca19c358afd83952eed7ab7ebe61e5d/pulsar-client/src/main/java/org/apache/pulsar/client/impl/MultiTopicsConsumerImpl.java#L883), [unSubscribeFromTopic](https://github.com/apache/pulsar/blob/72b9f5d96ca19c358afd83952eed7ab7ebe61e5d/pulsar-client/src/main/java/org/apache/pulsar/client/impl/MultiTopicsConsumerImpl.java#L1042)
   For c++ multipleTopicsConsumer we actually also have the ability to subscribe to / unsubscribe from additional topics.
   We might able to expose it if necessary.


----------------------------------------------------------------
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:
users@infra.apache.org