Package org.apache.heron.spouts.kafka
Interface TopicPatternProvider
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultTopicPatternProvider
public interface TopicPatternProvider extends Serializable
convenient interface to provider a topic match pattern- See Also:
Consumer.subscribe(Pattern)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Pattern
create()
create the topic matching regex pattern
-
-
-
Method Detail
-
create
Pattern create()
create the topic matching regex pattern- Returns:
- a matching pattern for topics to subscribe to
-
-