{"id":19580588,"url":"https://github.com/blurred-machine/flink-fraud-detection-with-datastream-api","last_synced_at":"2026-03-16T00:11:04.224Z","repository":{"id":129505682,"uuid":"313848656","full_name":"blurred-machine/Flink-Fraud-Detection-with-DataStream-API","owner":"blurred-machine","description":"Understanding the fraud transactions in real-time stream processing data pipeline built using Apache Flink.","archived":false,"fork":false,"pushed_at":"2020-11-18T07:37:30.000Z","size":47043,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T20:32:53.507Z","etag":null,"topics":["cluster","flink","fraud-detection","jar"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blurred-machine.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-18T06:53:39.000Z","updated_at":"2025-02-06T12:24:22.000Z","dependencies_parsed_at":"2023-06-11T16:31:18.626Z","dependency_job_id":null,"html_url":"https://github.com/blurred-machine/Flink-Fraud-Detection-with-DataStream-API","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/blurred-machine%2FFlink-Fraud-Detection-with-DataStream-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blurred-machine%2FFlink-Fraud-Detection-with-DataStream-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blurred-machine%2FFlink-Fraud-Detection-with-DataStream-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blurred-machine%2FFlink-Fraud-Detection-with-DataStream-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blurred-machine","download_url":"https://codeload.github.com/blurred-machine/Flink-Fraud-Detection-with-DataStream-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250348897,"owners_count":21415907,"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":["cluster","flink","fraud-detection","jar"],"created_at":"2024-11-11T07:28:02.756Z","updated_at":"2026-03-16T00:11:04.194Z","avatar_url":"https://github.com/blurred-machine.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flink-Fraud-Detection-with-DataStream-API\nThis repo consists of a fraud detection system for alerting on suspicious credit card transactions. Using a simple set of rules, you will see how Flink allows us to implement advanced business logic and act in real-time.\n\nTo be able to run Flink, the only requirement is to have a working **Java 8 or 11** installation. \n\n\n## Run this project\n### Create a maven project\n```mvn\nmvn archetype:generate \\\n    -DarchetypeGroupId=org.apache.flink \\\n    -DarchetypeArtifactId=flink-walkthrough-datastream-java \\\n    -DarchetypeVersion=1.11.2 \\\n    -DgroupId=frauddetection \\\n    -DartifactId=frauddetection \\\n    -Dversion=0.1 \\\n    -Dpackage=spendreport \\\n    -DinteractiveMode=false\n```\n\n### Import the java detector files and package the project\n```mvn\nmvn clean package\n```\nthis will generate the .jar file, now use the jar file to run on the flink cluster. Take the jar file inside your flink repo and run the following commands.\n\n1) start cluster:\n```mvn\n./bin/start-cluster.sh\n```\n2) run the jar on flink:\n```mvn\n./bin/flink run ./frauddetection-0.1.jar\n```\n3) Additionally, you can check Flink’s Web UI to monitor the status of the Cluster and running Job.\n\u003cbr\u003eFirstly, let's config the rest ports for the web UI\n```yml\nrest.port: 8081\nrest.address: 0.0.0.0\n\n```\nNow we can access the UI at localhost port 8081 using the link [Flink Local UI](http://localhost:8081)\n![UI](https://github.com/blurred-machine/Flink-Fraud-Detection-with-DataStream-API/blob/main/images/ui.png)\n4) To stop the cluster:\n```mvn\n./bin/stop-cluster.sh\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblurred-machine%2Fflink-fraud-detection-with-datastream-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblurred-machine%2Fflink-fraud-detection-with-datastream-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblurred-machine%2Fflink-fraud-detection-with-datastream-api/lists"}