/storm-local-docker-setup

Docker setup for Apache Storm 2 local development. Feel free to steal.

Primary LanguageJavaApache License 2.0Apache-2.0

storm-local-development-setup

Example of developing Apache Storm topologies locally without installing storm on your computer.

This repository covers simple Apache Storm 2 topology (WordCount) and docker-compose file which is responsible for running Storm Cluster, Storm UI, and container for deploying topology.

Quick Start

You have to build the project (WordkCount topology):

mvn clean package

then you need to run docker images:

docker-compose up

Docker-compose starts Storm Cluster, Storm UI and deploys WordCount topology to Storm Cluster.

Storm UI is aviable under http://localhost:8080

Alternatively you can force to recreate the containers (useful when there is some state stored in the container):

docker-compose up --build --force-recreate

If something doesn't work, you can remove images and try again:

docker-compose rm -f
docker-compose up --build --force-recreate

Notes