A simple REST service for starting, stopping, killing and deploying topologies.
action | REST call |
---|---|
list all installed topologies | http://localhost:8182/manage |
start someTopology | http://localhost:8182/storm/someTopology/start |
stop someTopology | http://localhost:8182/storm/someTopology/stop |
kill someTopology | http://localhost:8182/storm/someTopology/kill |
deploy someTopology on someChannel | http://localhost:8182/storm/someTopology/deploy?channel=someChannel |
- Follow the instructions of the project documentation pdf file in order to set up rabbitmq and storm
- This project comes as a maven project so download and install maven
- invoke
make run
ormvn clean install
in order to run the REST service - If topologies should be deployed to a remote server then the value for "nimbus.host" in deployment.properties has to be changed to the address of the remote server. Furthermore the value for "restlet.url" has to be changed to the restlet server's address.
- Clone the west topologies repo into the topology source directory
- Now follow the instructions for creating a topology here