Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ververica/lab-fraud-detection
Demo code for implementing and showcasing a Fraud Detection Engine with Apache Flink.
https://github.com/ververica/lab-fraud-detection
Last synced: about 2 months ago
JSON representation
Demo code for implementing and showcasing a Fraud Detection Engine with Apache Flink.
- Host: GitHub
- URL: https://github.com/ververica/lab-fraud-detection
- Owner: ververica
- Created: 2020-03-23T17:40:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-20T19:20:26.000Z (about 2 years ago)
- Last Synced: 2023-03-03T20:28:05.423Z (almost 2 years ago)
- Language: Java
- Homepage:
- Size: 900 KB
- Stars: 26
- Watchers: 24
- Forks: 15
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Fraud Detection Demo with Apache Flink
#### Requirements:
Demo is bundled in a self-contained package. In order to build it from sources you will need:- git
- docker
- docker-composeRecommended resources allocated to Docker:
- 4 CPUs
- 8GB RAMYou can checkout the repository and run the demo locally.
#### How to run:
In order to run the demo locally, execute the following commands which build the project from sources and start all required services, including the Apache Flink and Apache Kafka clusters.
```bash
git clone https://github.com/afedulov/fraud-detection-demo
docker build -t demo-fraud-webapp:latest -f webapp/webapp.Dockerfile webapp/
docker build -t flink-job-fraud-demo:latest -f flink-job/Dockerfile flink-job/
docker-compose -f docker-compose-local-job.yaml up
```__Note__: Dependencies are stored in a cached Docker layer. If you later only modify the source code, not the dependencies, you can expect significantly shorter packaging times for the subsequent builds.
When all components are up and running, go to `localhost:5656` in your browser.
__Note__: you might need to change exposed ports in _docker-compose-local-job.yaml_ in case of collisions.