Docker image of Apache Kafka
This is docker image of Apache Kafka. This image does not work alone. It
depends on an external ZooKeeper service and you need to tell it how to
connect to ZooKeeper by mounting your own server.properties template
or set KAFKA_ZOOKEEPER_CONNECT environment variable to the correct value
Here is an example of docker-compose file
version: "3"
services:
zookeeper:
image: zookeeper:3.4.9
restart: always
kafka:
image: binhnv/kafka:2.10-0.8
environment:
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181/kafka"
Content type
Image
Digest
Size
265.9 MB
Last updated
over 7 years ago
docker pull binhnv/kafka