- Basic topology written in all Java
- Reliable topology highlighting
Anchoring
and explicitAck
- Adds Exclamation marks to words
- Basic topology that makes use of multilang by implementing one bolt in Python
- Count the words
- Single Spout generating Even / Odd Streams
- Build Jar
mvn package
- Run Topology
storm local target/storm-sandbox-2.3.0-SNAPSHOT.jar org.apache.storm.starter.BasicTopology
storm local target/storm-sandbox-2.3.0-SNAPSHOT.jar org.apache.storm.starter.ExclamationTopology
storm local target/storm-sandbox-2.3.0-SNAPSHOT.jar org.apache.storm.starter.WordCountTopology
storm local target/storm-sandbox-2.3.0-SNAPSHOT.jar org.apache.storm.starter.EvenOddTopology
storm local target/storm-sandbox-2.3.0-SNAPSHOT.jar org.apache.storm.starter.trident.TridentWordCountTopology
- Start Cluster
docker-compose -f stack.yml up
- UI
http://localhost:8080/
Logs
- Logs will be present in Supervisor Container user each worker
- Enter container
docker exec -ti supervisor bash
- e.g.
cd /logs/workers-artifacts/topology-1-1594194562/6700
Andtail -f worker.log
- Enter container
Submit Topology
docker run --link nimbus:nimbus --net storm-sandbox_default -it --rm -v $(pwd)/target/storm-sandbox-2.3.0-SNAPSHOT.jar:/topology.jar storm storm jar /topology.jar org.apache.storm.starter.ExclamationTopology topology
Kill Topology
docker run --link nimbus:nimbus --net storm-sandbox_default -it --rm storm storm kill topology
This project is based on Storm Starter project