Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 3.06 KB

kafka-streams-internals-ProcessorGraphNode.adoc

File metadata and controls

31 lines (19 loc) · 3.06 KB

ProcessorGraphNode

ProcessorGraphNode is a graph node for stateless operators in KStreamImpl and KTableImpl.

When requested to writeToTopology, ProcessorGraphNode simply requests the given InternalTopologyBuilder to add a processor (with the name and the ProcessorSupplier as defined by the given ProcessorParameters).

ProcessorGraphNode is created when:

ProcessorGraphNode takes the following to be created:

  • Node name

  • ProcessorParameters<K, V>

  • repartitionRequired flag (default: false)

writeToTopology Method

void writeToTopology(final InternalTopologyBuilder topologyBuilder)
Note
writeToTopology is part of the StreamsGraphNode Contract to…​FIXME.

writeToTopology requests the given InternalTopologyBuilder to add a processor with the name and the ProcessorSupplier as defined by the given ProcessorParameters.