Which Kafka Streams operation is STATELESS?
- A. aggregate (build a running result per key)
- B. count (aggregate the number of records per key)
- C. reduce (combine records per key)
- D. filter (keep records matching a predicate)✓ Correct
Explanation
filter is stateless — each record is evaluated independently against a predicate with no stored state. count (B), reduce (C), and aggregate (A) are stateful operations that maintain per-key state in a state store.