- Install Java 8
- Install a NATS Messaging server
- Install [Apache NiFi] (https://nifi.apache.org/download.html)
- Clone and install the following Maven projects:
- https://github.com/mring33621/scripting-for-nifi
- https://github.com/mring33621/nats-messaging-for-nifi
- https://github.com/mring33621/nats-messaging-for-flink
- https://github.com/mring33621/MarketData
- https://github.com/mring33621/StockMarketTicker
- https://github.com/mring33621/StreamVisServer
- https://github.com/mring33621/DemoFlinkEngines
- Copy the following .nar files into NiFi/lib
- nifi-scripting-nar-x.y.z.nar
- nifi-nats-nar-x.y.z.nar
- Run the gnatsd server
- Run NiFi then import the FlinkNifiDemoFlow.xml file
- Unzip var.zip into your /var dir (be careful, back up anything already there before you unzip my stuff)
- Run DemoFlinkEngines com.mattring.demoflinkengines.EnginesMain
- Run StreamVisServer com.mattring.streamvisserver.ServerMain
- Point your browser to http://localhost:4567/DemoPages/dashboard.html to watch the fun
- This is a DEMO. Most of the code is of the random, pretend-to-work type.
- There are several hard-coded expectations:
- Everything in the /var path (see step 8, above)
- NATS server at localhost:4222