{"id":15332167,"url":"https://github.com/slachiewicz/fraud-detection-demo","last_synced_at":"2025-10-10T03:30:54.346Z","repository":{"id":39007652,"uuid":"234654495","full_name":"slachiewicz/fraud-detection-demo","owner":"slachiewicz","description":"Repository for Advanced Flink Application Patterns series","archived":false,"fork":true,"pushed_at":"2024-04-23T02:25:59.000Z","size":2122,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-02T09:58:13.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://flink.apache.org/news/2020/01/15/demo-fraud-detection.html","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"afedulov/fraud-detection-demo","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slachiewicz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-17T23:33:07.000Z","updated_at":"2023-03-04T11:09:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/slachiewicz/fraud-detection-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slachiewicz%2Ffraud-detection-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slachiewicz%2Ffraud-detection-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slachiewicz%2Ffraud-detection-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slachiewicz%2Ffraud-detection-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slachiewicz","download_url":"https://codeload.github.com/slachiewicz/fraud-detection-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235908196,"owners_count":19064336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T09:58:19.761Z","updated_at":"2025-10-10T03:30:48.904Z","avatar_url":"https://github.com/slachiewicz.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"| NOTE: Older Docker images are not available for Apple silicon. If you face this issue, try this WIP branch https://github.com/afedulov/fraud-detection-demo/tree/with-1.15|\n| --- |\n\n### Fraud Detection Demo with Apache Flink\n\nThis demo is related to a three-part blog post series on Advanced Flink Application Patterns:\n- [Case Study of a Fraud Detection System](https://flink.apache.org/2020/01/15/advanced-flink-application-patterns-vol.1-case-study-of-a-fraud-detection-system/)\n- [Dynamic Updates of Application Logic](https://flink.apache.org/2020/03/24/advanced-flink-application-patterns-vol.2-dynamic-updates-of-application-logic/)\n- [Custom Window Processing](https://flink.apache.org/2020/07/30/advanced-flink-application-patterns-vol.3-custom-window-processing/)\n\n#### Requirements:\nDemo is bundled in a self-contained package. In order to build it from sources you will need:\n\n - git\n - docker\n - docker-compose\n\n Recommended resources allocated to Docker:\n\n - 4 CPUs\n - 8GB RAM\n\n You can checkout the repository and run the demo locally.\n\n#### How to run:\n\nIn 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.\n\n```bash\ngit clone https://github.com/afedulov/fraud-detection-demo\ncd fraud-detection-demo\ndocker build -t demo-fraud-webapp:latest -f webapp/webapp.Dockerfile webapp/\ndocker build -t flink-job-fraud-demo:latest -f flink-job/Dockerfile flink-job/\ndocker-compose -f docker-compose-local-job.yaml up\n```\n\n__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.\n\nWhen all components are up and running, go to `localhost:5656` in your browser.\n\n__Note__: you might need to change exposed ports in _docker-compose-local-job.yaml_ in case of collisions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslachiewicz%2Ffraud-detection-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslachiewicz%2Ffraud-detection-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslachiewicz%2Ffraud-detection-demo/lists"}