| International Journal of Computer Applications |
| Foundation of Computer Science (FCS), NY, USA |
| Volume 187 - Number 60 |
| Year of Publication: 2025 |
| Authors: Ronak S. Dev, Usha J. |
10.5120/ijca2025925872
|
Ronak S. Dev, Usha J. . Event driven Fraud Detection Pipeline: Real-Time Processing with Kafka, ksqlDB & Apache Flink. International Journal of Computer Applications. 187, 60 ( Nov 2025), 13-18. DOI=10.5120/ijca2025925872
In an era dominated by digital transactions and real-time decision-making, traditional fraud detection systems have become inadequate due to their reliance on delayed, batch-based processing. This research presents an event-driven architecture for real-time fraud detection, leveraging Apache Kafka for high-throughput data ingestion, ksqlDB for rule-based stream querying, and Apache Flink for complex event processing and machine learning inference. The system ingests transaction, login, and geolocation data streams, applies immediate filters, and performs stateful anomaly detection to identify suspicious behaviors such as velocity violations and improbable access patterns. A fully containerized implementation validates the architecture’s performance under simulated load conditions, achieving a true positive rate of 94.2% and sub-second latency. The hybrid approach unifies rule-based and ML-enhanced detection, offering low false positives and high adaptability. This work demonstrates how modern stream processing technologies can transform fraud detection from a reactive, offline task into a proactive, real-time analytics pipeline embedded within the data infrastructure. The architecture is modular, scalable, and production-ready, making it suitable for deployment in financial and e-commerce ecosystems.