Details
Description
Request: provide subscribe(Pattern pattern) overload, similar to subscribe(Collection<String> topics),
Today, for a consumer to subscribe to topics based on a regular expression (i.e. Pattern), the only method option also requires to pass in a ConsumerRebalanceListener. This is not user-friendly to require this second argument. It seems new NoOpConsumerRebalanceListener() has to be used.
Use case: multi datacenter, allowing easier subscription to multiple topics prefixed with datacenter names, just by using a pattern subscription.
Attachments
Issue Links
- links to
- mentioned in
-
Page Loading...