TECHNICAL SOLUTION GUIDEApache Flink | Solution blueprint | November 2026
Flag unusual payment activity with Apache Flink
From transactions to risk signals
Read payment events from Kafka and partition by account. For each event, compare recent activity in event time. Six requests in a minute across distant locations may merit investigation; a high count alone does not establish fraud.
Keep decisions in the bank's control
Publish a risk event with its contributing signals to a separate Kafka topic. The bank's risk engine combines it with device and account history before requesting verification. Late events, missing locations and retries need explicit policies.
Test recovery before rollout
Checkpoint keyed state to durable storage and exercise a restart against replayable Kafka input. Verify that a repeated event does not create a second case. Measure input lag, checkpoint duration and time to alert under peak traffic.