vescel/kafka: dockerized kafka for Joyent Triton
The vescel/kafka container has an automated build available on dockerhub
For detail usage (including zookeeper and kafka-manager) visit https://github.com/vescel/platform
local machine prerequsites
docker toolbox must be installed. Docker for Mac is still fresh, and I haven't had a chance to work out the network bugs yet, so stick with docker toolbox for now.
Mac OSX Quick Start
docker run -p 8400:8400 -p 8500:8500 -p 8600:53/udp -h node1 progrium/consul -server -bootstrap -ui-dir /ui
This command will launch a single consul instance (sufficient for development) that will have the consul UI available on port 8500 of the local machine at:
docker-machine ip default
Clone this repository to your local machine. cd into vescel/kafka and run the following command to create the required ENV file
Confirm that a file with name _env exists in the local directory, then run:
Which creates a single instance of kafka, available on port 9092.
Scaling to a multiple node installation is accomplished with the following command:
docker-compose scale kafka=3