Public Repository

Last pushed: 2 years ago
Short Description
this images simple for kafka and zookeeper service.
Full Description

Run

docker run -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST=docker-machine ip --env ADVERTISED_PORT=9092 2blibra/kafka_zk
export KAFKA=docker-machine ip:9092
kafka-console-producer.sh --broker-list $KAFKA --topic test
export ZOOKEEPER=docker-machine ip:2181
kafka-console-consumer.sh --zookeeper $ZOOKEEPER --topic test

Build from source

docker build -t 2blibra/kafka_zk kafka/

Docker Pull Command
Owner
2blibra

Comments (0)