[
https://issues.apache.org/jira/browse/BEAM-5786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16655431#comment-16655431
]
Alexey Romanenko edited comment on BEAM-5786 at 10/18/18 3:35 PM:
------------------------------------------------------------------
[~rangadi] Yes but initially I thought that this is the same case as for
{{withTopics(List<String>)}}. The only difference that before we have to
discover the whole list of topics and select matched ones.
Although, I agree that detection new topics, matched to user pattern, at
runtime seems more useful for this case and more complicated feature. So, I
changed it to "major".
was (Author: aromanenko):
[~rangadi] Yes but initially I thought that this is the same case as for
{{withTopics(List<String>)}}. The only difference that before we have to
discover the whole list of topics and selected matched ones. Although, I agree
that detection new topics, matched to user pattern, at runtime seems more
useful for this case and more complicated feature. So, I changed it to "major".
> KafkaIO should support topic patterns
> -------------------------------------
>
> Key: BEAM-5786
> URL: https://issues.apache.org/jira/browse/BEAM-5786
> Project: Beam
> Issue Type: Improvement
> Components: io-java-kafka
> Reporter: Alexey Romanenko
> Assignee: Alexey Romanenko
> Priority: Major
>
> For the moment, it is possible to set topics for KafkaIO.Read in 2 ways - one
> single topic by using {{withTopic(String)}} or list of topics by using
> {{withTopics(List<String>)}}.
> It would make sense to provide another way for this using patterns, based on
> regular expressions, like {{withTopics(“org_[0-9]+_source”)}}. In this case,
> Kafka consumer could discover the topics based on user provided pattern.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)