Building a stream processing pipeline in context of risk management platform
summary
A working risk pipeline is built around a single login event stream using Kafka Streams as a library to process thousands of events per second, mapping session IDs, computing a device hash, and running map filter group aggregate and stream–table join operations. Known devices live in a local state store (backed by RocksDB), race conditions are resolved by ordering topologies, and composite key design avoids data skew. Prototyping uses ksqlDB; production runs on Kafka Streams with attention to late events and rebalancing.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 3:21Troy Hunt Collection 1
- 6:19Requirements
- 6:49Input
- 7:42What stream processing relays
- 8:40Stream processing architecture
- 10:11Stream processing ecosystem
- 11:11Defining input
- 11:26Big picture perspective
- 16:28Map operator
- 21:53Kafka partitions
- 27:37Composite key
- 29:25Side notes
- 30:35Resources
- 31:03Summary
