Case study: fraud detection with Kafka and Redis — topics, keys, windows and failures
The Kafka angle of fraud detection for an e-wallet (the 100-transactions-in-5-minutes rule): topics and keys, partition count, event-time sliding windows in Redis, idempotent counting when Kafka redelivers, preventing alert storms, rebuilding state by replay, scaling the detector, and a comparison with Kafka Streams state stores.