K
- original key typeV
- original value typepublic interface ForeachAction<K,V>
ForeachAction
interface for performing an action on a key-value pair.
Note that this action is stateless. If stateful processing is required, consider
using KStream.transform(TransformerSupplier, String...)
or
KStream.process(ProcessorSupplier, String...)
instead.Modifier and Type | Method and Description |
---|---|
void |
apply(K key,
V value)
Perform an action for each record of a stream.
|