Package org.apache.kafka.streams
Interface TopologyDescription.Source
-
- All Superinterfaces:
TopologyDescription.Node
- All Known Implementing Classes:
InternalTopologyBuilder.Source
- Enclosing interface:
- TopologyDescription
public static interface TopologyDescription.Source extends TopologyDescription.Node
A source node of a topology.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.regex.PatterntopicPattern()The pattern used to match topic names that is reading from.java.lang.Stringtopics()Deprecated.usetopicSet()ortopicPattern()insteadjava.util.Set<java.lang.String>topicSet()The topic names this source node is reading from.-
Methods inherited from interface org.apache.kafka.streams.TopologyDescription.Node
name, predecessors, successors
-
-
-
-
Method Detail
-
topics
@Deprecated java.lang.String topics()
Deprecated.usetopicSet()ortopicPattern()insteadThe topic names this source node is reading from.- Returns:
- comma separated list of topic names or pattern (as String)
-
topicSet
java.util.Set<java.lang.String> topicSet()
The topic names this source node is reading from.- Returns:
- a set of topic names
-
topicPattern
java.util.regex.Pattern topicPattern()
The pattern used to match topic names that is reading from.- Returns:
- the pattern used to match topic names
-
-