Kafka - Streams
What is wrong with this Kafka Streams aggregation code?
var aggregated = stream.groupBy((k, v) -> v.getCategory()).aggregate( () -> 0, (key, value, aggregate) -> aggregate + value.getAmount() );
