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/09/13 08:21:40 UTC

[GitHub] [pulsar] beyondyinjl2 commented on issue #12022: How to dynamically produce and consume topic data

beyondyinjl2 commented on issue #12022:
URL: https://github.com/apache/pulsar/issues/12022#issuecomment-917955889


   For example, first subscribe to topic:persistent://public/default/my-topic:
   Consumer consumer = client.newConsumer()
   .topic("persistent://public/default/my-topic")
                        .subscriptionName("my-subscription")
   .subscribe();
   Then I want to dynamically subscribe to other topics: persistent://public/default/aaa or persistent://public/mynamesapce/bbb without restarting the service


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