View Code? Open in Web Editor
NEW
Setup instructions for my recent Flink-NiFi demo.
License: Apache License 2.0
flinknifidemo's Introduction
Setup instructions for my recent Flink-NiFi demo.
Refer to the Demo Slides
- Install Java 8
- Install a NATS Messaging server
- Install [Apache NiFi] (https://nifi.apache.org/download.html)
- Clone and install the following Maven projects:
- 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
flinknifidemo's People
Contributors
Watchers