Class InternalTopologyBuilder.Source
- java.lang.Object
-
- org.apache.kafka.streams.processor.internals.InternalTopologyBuilder.AbstractNode
-
- org.apache.kafka.streams.processor.internals.InternalTopologyBuilder.Source
-
- All Implemented Interfaces:
TopologyDescription.Node,TopologyDescription.Source
- Enclosing class:
- InternalTopologyBuilder
public static final class InternalTopologyBuilder.Source extends InternalTopologyBuilder.AbstractNode implements TopologyDescription.Source
-
-
Constructor Summary
Constructors Constructor Description Source(java.lang.String name, java.util.Set<java.lang.String> topics, java.util.regex.Pattern pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddPredecessor(TopologyDescription.Node predecessor)booleanequals(java.lang.Object o)inthashCode()java.util.regex.PatterntopicPattern()The pattern used to match topic names that is reading from.java.lang.Stringtopics()Deprecated.java.util.Set<java.lang.String>topicSet()The topic names this source node is reading from.java.lang.StringtoString()-
Methods inherited from class org.apache.kafka.streams.processor.internals.InternalTopologyBuilder.AbstractNode
addSuccessor, name, predecessors, successors
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.kafka.streams.TopologyDescription.Node
name, predecessors, successors
-
-
-
-
Method Detail
-
topics
@Deprecated public java.lang.String topics()
Deprecated.Description copied from interface:TopologyDescription.SourceThe topic names this source node is reading from.- Specified by:
topicsin interfaceTopologyDescription.Source- Returns:
- comma separated list of topic names or pattern (as String)
-
topicSet
public java.util.Set<java.lang.String> topicSet()
Description copied from interface:TopologyDescription.SourceThe topic names this source node is reading from.- Specified by:
topicSetin interfaceTopologyDescription.Source- Returns:
- a set of topic names
-
topicPattern
public java.util.regex.Pattern topicPattern()
Description copied from interface:TopologyDescription.SourceThe pattern used to match topic names that is reading from.- Specified by:
topicPatternin interfaceTopologyDescription.Source- Returns:
- the pattern used to match topic names
-
addPredecessor
public void addPredecessor(TopologyDescription.Node predecessor)
- Overrides:
addPredecessorin classInternalTopologyBuilder.AbstractNode
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-