Skip to content

getindata/flink-dynamic-cep-demo

Repository files navigation

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-compose

Recommended resources allocated to Docker:

  • 4 CPUs
  • 8GB RAM

You 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.

git clone git@gitlab.com:getindata/streamsense/flink-dynamic-cep-demo.git
docker build -t demo-webapp:latest -f webapp/webapp.Dockerfile webapp/
docker build -t demo-flink-job: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.