Package org.apache.kafka.streams
Interface TopologyDescription.Subtopology
-
- Enclosing interface:
- TopologyDescription
public static interface TopologyDescription.SubtopologyA connected sub-graph of aTopology.Nodes of a
Subtopologyare connecteddirectlyor indirectly viastate stores(i.e., if multiple processors share the same state).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intid()Internally assigned unique ID.Set<TopologyDescription.Node>nodes()All nodes of this sub-topology.
-
-
-
Method Detail
-
id
int id()
Internally assigned unique ID.- Returns:
- the ID of the sub-topology
-
nodes
Set<TopologyDescription.Node> nodes()
All nodes of this sub-topology.- Returns:
- set of all nodes within the sub-topology
-
-