Kafka and Zookeeper combined imageĀ
135
Docker image for single Kafka message broker including Zookeeper
Github: https://github.com/MosheBlumbergX/docker-kafka-zookeeperā
Latest: 3.3.1
docker run -p 2181:2181 -p 9092:9092 -e ADVERTISED_HOST=127.0.0.1 -e NUM_PARTITIONS=10 johnnypark/kafka-zookeeper
ADVERTISED_HOST sets Kafka Broker config advertised.listeners to PLAINTEXT://[ADVERTISED_HOST]
NUM_PARTITIONS sets Kafka Broker config num.partitions to [NUM_PARTITIONS]
kafka-console-consumer --bootstrap-server 127.0.0.1:9092 --topic foobar
kafka-console-producer --broker-list 127.0.0.1:9092 --topic foobar
test1
test2
test3
test1
test2
test3
Originally cloned and inspired by https://github.com/spotify/docker-kafkaā and https://github.com/hey-johnnypark/docker-kafka-zookeeperā
Content type
Image
Digest
sha256:c414f9f10ā¦
Size
308.3 MB
Last updated
over 3 years ago
docker pull mosheblumberg/zookeeper-kafka:3.3.1