A real-time payment fraud detection system built with Go, Kafka, and Redis. Detects anomalous transactions using simple, configurable rules.
-
High-Frequency Transactions – flags rapid successive transactions.
-
Large Amounts – flags transactions exceeding thresholds.
-
Geographical/Velocity Checks – flags impossible travel patterns between transactions.
Clone the repo:
git clone [email protected]:anshu4sharma/fraud_payment_detector.git
cd fraud_payment_detectorInstall dependencies:
go mod tidyStart all services (Redis, Kafka, and the application) using Docker Compose:
docker-compose up -dRun the application
go run main.go