lianetm commented on PR #15585:
URL: https://github.com/apache/kafka/pull/15585#issuecomment-2045382837

   Hey @dajac , we do have the same mechanism, calling 
`updatePatternSubscription` on a regular basis, as part of the consumer poll 
loop 
[here](https://github.com/apache/kafka/blob/4307840f100cd5dab18c7073aa2eaf060a997a92/clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java#L723C17-L723C49).
 This ensures that is the set of topics that mathches the regex changes (topics 
creates or deleted), the subscription is updated. 


-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to