This project contains Storm job configurations that use synthetic data to create four different backpressure scenarios used in a Stream Processing Backpressure Smackdown.
There are a number of ways to install and run Storm depending on your available hardware. I am just going to cover running it locally on a Mac laptop.
Install Zookeeper via Brew, and run up using the following command
brew services start zookeeper
Download the version in question from the Storm website. I used v2.0.
Update the STORM_HOME/conf/storm.yaml
and make sure the nimbus.seeds are configured as follows:
nimbus.seeds: ["127.0.0.1"]
Then run up the nimbus, supervisor and UI as follows:
storm nimbus
storm supervisor
storm ui
... these commands will need to be executed in different terminals.
If successful you should be able to see the supervisor registered in the Storm UI on http://localhost:8080/.
TODO - if anyone is interested in this raise an issue and I'll sort out the extra info
First build this project using mvn clean package
. Then run the appropriate scenario using:
storm jar target/storm-variance-0.1-SNAPSHOT.jar org.apache.storm.flux.Flux --remote <scenario-name>.yaml