Class Topology

java.lang.Object
org.apache.kafka.streams.Topology

public class Topology extends Object
A logical representation of a ProcessorTopology. A topology is a graph of sources, processors, and sinks. A SourceNode is a node in the graph that consumes one or more Kafka topics and forwards them to its successor nodes. A Processor is a node in the graph that receives input records from upstream nodes, processes the records, and optionally forwarding new records to one, multiple, or all of its downstream nodes. Finally, a SinkNode is a node in the graph that receives records from upstream nodes and writes them to a Kafka topic. A Topology allows you to construct a graph of these nodes, and then passed into a new KafkaStreams instance that will then begin consuming, processing, and producing records.