Class StatefulProcessorNode<K,V>
- java.lang.Object
-
- org.apache.kafka.streams.kstream.internals.graph.StreamsGraphNode
-
- org.apache.kafka.streams.kstream.internals.graph.ProcessorGraphNode<K,V>
-
- org.apache.kafka.streams.kstream.internals.graph.StatefulProcessorNode<K,V>
-
public class StatefulProcessorNode<K,V> extends ProcessorGraphNode<K,V>
-
-
Constructor Summary
Constructors Constructor Description StatefulProcessorNode(java.lang.String nodeName, ProcessorParameters<K,V> processorParameters, java.lang.String[] storeNames, boolean repartitionRequired)
Create a node representing a stateful processor, where the named store has already been registered.StatefulProcessorNode(java.lang.String nodeName, ProcessorParameters<K,V> processorParameters, StoreBuilder<? extends StateStore> materializedKTableStoreBuilder, boolean repartitionRequired)
Create a node representing a stateful processor, where the store needs to be built and registered as part of building this node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
void
writeToTopology(InternalTopologyBuilder topologyBuilder)
-
Methods inherited from class org.apache.kafka.streams.kstream.internals.graph.ProcessorGraphNode
processorParameters
-
Methods inherited from class org.apache.kafka.streams.kstream.internals.graph.StreamsGraphNode
addChild, allParentsWrittenToTopology, buildPriority, children, clearChildren, hasWrittenToTopology, isKeyChangingOperation, isMergeNode, isValueChangingOperation, keyChangingOperation, nodeName, parentNodes, removeChild, repartitionRequired, setBuildPriority, setHasWrittenToTopology, setMergeNode, setValueChangingOperation
-
-
-
-
Constructor Detail
-
StatefulProcessorNode
public StatefulProcessorNode(java.lang.String nodeName, ProcessorParameters<K,V> processorParameters, java.lang.String[] storeNames, boolean repartitionRequired)
Create a node representing a stateful processor, where the named store has already been registered.
-
StatefulProcessorNode
public StatefulProcessorNode(java.lang.String nodeName, ProcessorParameters<K,V> processorParameters, StoreBuilder<? extends StateStore> materializedKTableStoreBuilder, boolean repartitionRequired)
Create a node representing a stateful processor, where the store needs to be built and registered as part of building this node.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classProcessorGraphNode<K,V>
-
writeToTopology
public void writeToTopology(InternalTopologyBuilder topologyBuilder)
- Overrides:
writeToTopology
in classProcessorGraphNode<K,V>
-
-