Real-Time Fraud Scoring with Kafka and Flink

Real-Time Fraud Scoring with Kafka and Flink A data-flow diagram generated by Archify. 01 / Sources 02 / Ingest 03 / Process 04 / Serve 05 / Act Payment events · authorisations · 01 / Sources Payment events authorisations Device + login · app telemetry · 01 / Sources Device + login app telemetry Kafka topics · keyed by account · 02 / Ingest Kafka topics keyed by account Flink job · event time, windows · 03 / Process Flink job event time, windows Keyed state · checkpointed · 03 / Process Keyed state checkpointed Feature cache · velocity, spend · 04 / Serve Feature cache velocity, spend fraud-alerts · high-risk events · 04 / Serve fraud-alerts high-risk events Fraud decision · approve, step-up, block · 05 / Act Fraud decision approve, step-up, block Case management · analyst review · 05 / Act Case management analyst review produce produce consume read/write state aggregates risk > limit lookup open case Legend primary data policy / PII async batch data store data flow

Event time

  • • Watermarks handle late, out-of-order events

Exactly-once state

  • • Checkpoints + transactional sinks
© 2026 Samir Kumar Sahoo. All rights reserved.