companion code for the blog post http://bytecontinnum.com/apache-flink-cep-library-part-1/
CEP for Banking systems powered by Apache Flink
Steps to test:
- Install ZK locally and start the service. (if you are using already runnings service amend code accordingly)
- Install Kafka locally and start the service.(if you are using already runnings service amend code accordingly)
- Create topic "ATMTXNS"
- Run ATMCEPKafka.java
- Use commandline or your own Kafka producer to ingest events in the below CSV format. ATMID,CUSTOMERID,TXNAMT,TXNTYPE,TXNTIMESTAMP