Kafka - Streams
You want to compute the total sales amount per product category from a Kafka stream
sales where each record has category and amount. Which Kafka Streams code snippet correctly performs this aggregation?