[
https://issues.apache.org/jira/browse/KAFKA-15538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lianet Magrans updated KAFKA-15538:
-----------------------------------
Parent: KAFKA-14048
Issue Type: Sub-task (was: Task)
> Resolve regex on client side when using java regex in new consumer
> -------------------------------------------------------------------
>
> Key: KAFKA-15538
> URL: https://issues.apache.org/jira/browse/KAFKA-15538
> Project: Kafka
> Issue Type: Sub-task
> Components: clients, consumer
> Reporter: Lianet Magrans
> Priority: Major
>
> We need to resolve a java Pattern regex on the client side to send the broker
> a list of topic names to subscribe to.
> Context:
> The new consumer group protocol uses [Google
> RE2/J|https://github.com/google/re2j] for regular expressions and introduces
> new methods in the consumer API to subscribe using a `SubscribePattern`. The
> subscribe using a java `Pattern` will be still supported for a while but
> eventually removed.
> * When the subscribe with SubscriptionPattern is used, the client should
> just send the regex to the broker and it will be resolved on the server side.
> * In the case of the subscribe with Pattern, the regex should be resolved on
> the client side.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)