Reputation: 402
KafkaConsumer supports both a list of topics or a pattern when subscribing.
Can we do the same thing with hdfs connect?
I cannot find any configuration related to that in the documentation.
Upvotes: 1
Views: 743
Reputation: 4303
Looks like topic patterns is a feature which was pulled in Nov 2017, you can see the original ticket here and the wiki here. From what I can tell you have to use the topics.regex
property instead of topics
.
Upvotes: 1