Data analytic engine is to consume a stream of inputs and evaluate them against a set of rules. Any input that matches the rules is flagged as a output. The engine is implemented using Apache Flink and is deployed as a standalone application.
This project consists of three main components:
-
luix-dae-commons: Common library for the DAE Flink Job
-
luix-dae-flink-job: Data analytic engine application with Apache Flink
-
luix-fraud-detection-simulator: Fraud detection web simulator demo, which is used to generate transactions and configure rules
Before you can build this project, you must install JDK on your machine. You can install JDK by SDK Man. e.g.
sdk install java 11.0.20-tem
Note
|
Java compatability: JDK 11 only |
This project contains multiple sub-modules.
Run luix-dae-flink-job module with main() method of:
cn.luixtech.dae.flinkjob.DaeFlinkJobApplication
Access Flink Web UI (Dashboard) with URL: http://localhost:8081
Run luix-fraud-detection-simulator module with main() method of:
cn.luixtech.frauddetection.simulator.SimulatorApplication
Access swagger with URL: http://localhost:5656
To start zookeeper and Kafka in a docker container, run:
docker-compose -f docker/all.yml up -d
To stop it and remove the container, run:
docker-compose -f docker/all.yml down
Add below Key/Value pair to env variable of rancher.
key: JAVA_OPTS
value: -Dspring.profiles.active=XXX
Error:
./mvnw: Permission denied
Solution:
chmod +x mvnw
git update-index --chmod=+x mvnw
-
Email: louis@luixtech.com