[ 
https://issues.apache.org/jira/browse/KAFKA-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16221506#comment-16221506
 ] 

Jeff Klukas commented on KAFKA-3073:
------------------------------------

Since a significant segment of the Kafka user community come from a Java 
background, I would expect many users would be most comfortable with Java's 
regex library over PCREs. It seems reasonable to me to start there (since the 
Java consumer already includes a subscribe() variant that takes a Java regex 
Pattern) and leave it to a separate effort to find a suitable PCRE library and 
add a new subscribe() variant.

If we add PCRE support in the future, we could control which type of regex is 
used via an additional 'topics.pattern.type' configuration option.


> KafkaConnect should support regular expression for topics
> ---------------------------------------------------------
>
>                 Key: KAFKA-3073
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3073
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>            Reporter: Gwen Shapira
>            Assignee: Liquan Pei
>              Labels: needs-kip
>
> KafkaConsumer supports both a list of topics or a pattern when subscribing. 
> KafkaConnect only supports a list of topics, which is not just more of a 
> hassle to configure - it also requires more maintenance.
> I suggest adding topics.pattern as a new configuration and letting users 
> choose between 'topics' or 'topics.pattern'.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to