/FlinkNifiDemo

Setup instructions for my recent Flink-NiFi demo.

Apache License 2.0Apache-2.0

FlinkNifiDemo

Setup instructions for my recent Flink-NiFi demo.

Refer to the Demo Slides

  1. Install Java 8
  2. Install a NATS Messaging server
  3. Install [Apache NiFi] (https://nifi.apache.org/download.html)
  4. Clone and install the following Maven projects:
  1. Copy the following .nar files into NiFi/lib
  • nifi-scripting-nar-x.y.z.nar
  • nifi-nats-nar-x.y.z.nar
  1. Run the gnatsd server
  2. Run NiFi then import the FlinkNifiDemoFlow.xml file
  3. Unzip var.zip into your /var dir (be careful, back up anything already there before you unzip my stuff)
  4. Run DemoFlinkEngines com.mattring.demoflinkengines.EnginesMain
  5. Run StreamVisServer com.mattring.streamvisserver.ServerMain
  6. Point your browser to http://localhost:4567/DemoPages/dashboard.html to watch the fun

Notes:

  1. This is a DEMO. Most of the code is of the random, pretend-to-work type.
  2. There are several hard-coded expectations:
  • Everything in the /var path (see step 8, above)
  • NATS server at localhost:4222