Single-node Kafka and Zookeeper in 1 container; vastly improved fork of spotify/docker-kafka
10K+
Single-broker Kafka + single-node Zookeper in one Docker container, managed by supervisord.
Forked from spotify/docker-kafka. Improvements:
stdout/stderr (see veithen's blog)rootTo build (note: the --build-arg options are not actually required):
docker build --tag gg77/kafka --build-arg SCALA_VERSION=2.11 --build-arg KAFKA_VERSION=0.10.1.1 .
Alternatively, pull latest from the gg77/kafka DockerHub repository:
docker pull gg77/kafka
docker run --rm -it KAFKA_CONFIG_MESSAGE_MAX_BYTES=1337 --name kafka --hostname kafka gg77/kafka
Using the Kafka utilities:
docker exec -it kafka /home/kafka/kafka/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 4 --topic harambe
From another container:
docker run --rm -it --link kafka gg77/kafka /home/kafka/kafka/bin/kafka-topics.sh --describe --zookeeper kafka:2181
Content type
Image
Digest
Size
175.3 MB
Last updated
over 8 years ago
docker pull gg77/kafka