Package org.apache.kafka.streams.kstream
Interface Merger<K,V>
- Type Parameters:
K- key typeV- aggregate value type
public interface Merger<K,V>
The interface for merging aggregate values for
SessionWindows with the given key.Method Summary
Method Details
apply
Compute a new aggregate from the key and two aggregates.- Parameters:
aggKey- the key of the recordaggOne- the first aggregateaggTwo- the second aggregate- Returns:
- the new aggregate value