ProcessorGraphNode¶
ProcessorGraphNode
is a GraphNode.
Creating Instance¶
ProcessorGraphNode
takes the following to be created:
- Node Name
-
ProcessorParameters
ProcessorGraphNode
is created when:
BranchedKStreamImpl
is created and requested tocreateBranch
CogroupedStreamAggregateBuilder
is requested tocreateTable
KStreamImpl
is requested to filter, filterNot, internalSelectKey, map, mapValues, flatMap, flatMapValues, print, foreach, peek, doBranch, mergeKStreamImplJoin
is requested to joinKTableImpl
is requested to doJoinOnForeignKey, toStream, groupBy
writeToTopology¶
void writeToTopology(
InternalTopologyBuilder topologyBuilder,
Properties props)
writeToTopology
requests the given InternalTopologyBuilder to addProcessor (with the processorName
and processorSupplier
of the ProcessorParameters and parentNodeNames)
writeToTopology
is part of the GraphNode abstraction.