-
Notifications
You must be signed in to change notification settings - Fork 218
LocalDevEnv
The main thing you need when doing local development on streamparse is a virtual machine configured with Storm the way it might be configured in a real cluster.
The easiest option for this is to use something like Vagrant and VirtualBox.
- Check Vagrant's Getting Started guide.
- Create a basic
Vagrantfile
using the Ubuntu precise64 box. - To provision the box, we recommend you use the official Java cookbook and a community-maintained simplified storm-cookbook which offers a
storm::singlenode
configuration.
Once this box is up and provisioned, you should be able to access the Storm UI on port 8080, and you should be able to run commands like sparse list
from streamparse against it, once configured in your config.json
.
It's also possible to get Storm running using storm-docker. However, we don't recommend this right now because streamparse requires having SSH access to your Storm worker nodes so that it can modify the filesystem to do things like virtualenv setup. Docker will make this a bit complicated (probably requiring the use of Volumes).