Denovo1998 commented on code in PR #23895: URL: https://github.com/apache/pulsar/pull/23895#discussion_r1929504749
########## pip/pip-405.md: ########## @@ -0,0 +1,165 @@ +# PIP-405: Enhanced Dynamic Handling of Selective Consumers in MultiTopicConsumers + +# Background knowledge + +In Pulsar, consumers can subscribe to multiple topics by pattern or by passing a list of topics. +However, currently, if you need to modify this pattern, it often requires shutting down the existing consumers and creating new consumers with the new pattern. +This is because in `MultiTopicConsumer`, each operation is applied to all consumers. +We hope to dynamically add or remove certain topics without affecting other subscribed topics. + +# Motivation + +We want a way to unsubscribe or close from certain consumers and add new ones without restarting the entire consumer. Review Comment: **Here might not only be "close" or "unsubscribe," "subscribe." It seems that "pause" and "resume" can also be added? Everyone take a look at this section?** -- 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]
