savaki/kafka

By savaki

Updated over 9 years ago

Image
0

113

docker-kafka

Dockerfile for Apache Kafka

The image is available directly from https://index.docker.io

Based on the container, https://github.com/wurstmeister/kafka-docker

Usage

By default, the application assumes linked zookeeper container with the name zk.

Environment Variables

If you want to customze any Kafka parameters, simply add them as environment variables with the prefix KAFKA_.

Examples:

To set this propertyUse this env variable
log.retention.hoursKAFKA_LOG_RETENTION_HOURS
message.max.bytesKAFKA_MESSAGE_MAX_BYTES
zookeeper.connectKAFKA_ZOOKEEPER_CONNECT

Docker Pull Command

docker pull savaki/kafka