Currently setup to start a Kafka 0.9.0.0 Broker
None.
BROKER_ID: A non-negative integer
CLUSTER_NAME: Name used in Zookeeper ZNode, helps keep it off the root znode
ZK_IPS: comma separated list of zookeeper IPS, e.g. zk01:2181,zk02:2181,zk03:2181,zk04:2181,zk05:2181
ADVERTISED_HOST_NAME: Optional hostname, if not using --net=HOST in the docker run command
/data/kafka: where the broker stores it's log information
9092: default kafka port
9999: JMX Port
* sudo docker run --name kafka --restart on-failure:5 --log-driver=journald
-e BROKER_ID=1 \
-e CLUSTER_NAME=dsra \
-e ZK_IPS=zk01:2181,zk02:2181,zk03:2181,zk04:2181,zk05:2181 \
-p 9092:9092 -p 9999:9999 aarongdocker/kafka
BROKER_ID=`/usr/bin/ifconfig bond0 | /usr/bin/sed -n 2p | /usr/bin/awk '{ print $2 }' | cut -d . -f 4`
Content type
Image
Digest
sha256:19760ed35…
Size
256.5 MB
Last updated
over 10 years ago
docker pull aarongdocker/kafka