Dockerfile for Apache Kafka
The image is available directly from https://index.docker.io
##Pre-Requisites
- install fig http://www.fig.sh/install.html
- modify the
KAFKA_ADVERTISED_HOST_NAME
infig.yml
to match your docker host IP (Note: Do not use localhost or 127.0.0.1 as the host ip if you want to run multiple brokers.)
##Usage
Start a cluster:
fig up -d
Add more brokers:
fig scale kafka=3
Destroy a cluster:
fig stop
##Tutorial