Public Repository

Last pushed: 16 days ago
Short Description
Zookeeper - Kafka Cluster
Full Description

On Mac OSX (Local)
docker run -it -d --privileged --pid=host --name=zk-kafka -e ZK_HOSTS={{container_IP}}:2181 -e ZOO_XMS=128M -e ZOO_XMX=128M -e BROKER_HOST={{container_IP}} -e KAFKA_XMS=128M -e KAFKA_XMX=128M -e KAFKA_MANAGER_XMX=128M -e ADVERTISED_HOST_NAME=localhost -p 2181:2181 -p 9092:9092 sandd/zk-kafka:latest

On Ubuntu 14.04 (Server)
docker run -it -d --privileged --pid=host --net=host --name=zk-kafka -v /mnt:/mnt \
-v /etc/localtime:/etc/localtime -v /etc/timezone:/etc/timezone \
-v /var/log/sandd:/usr/local/sandd/logs/ \
-e ZK_HOSTS=10.1.0.4:2181 \
-e ZOO_XMS=128M \
-e ZOO_XMX=128M \
-e BROKER_HOST=10.1.0.4 \
-e KAFKA_XMS=128M \
-e KAFKA_XMX=128M \
-e KAFKA_MANAGER_XMX=128M \
sandd/zk-kafka:latest

Docker Pull Command
Owner
sandd

Comments (0)