Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 1.65 KB

README.md

File metadata and controls

16 lines (14 loc) · 1.65 KB

kafka-mirrormaker-docker

An Apache Kafka Docker container based on wurstmeister/kafka that starts a MirrorMaker configurable by environment variables.

  • This image is available on Docker Hub.
  • Licensed under the Apache License. Source code and full license text available on Github.
  • New versions will be released based on wurstmeister's releases.
  • Only a subset of MirrorMaker's settings are currently configurable via environment variable. If you'd like to add to that set, please file a ticket and let's discuss – or even better, create a pull request!

Environment variables in this image:

  • CONSUMER_BOOTSTRAP_SERVERS: Mandatory The list of bootstrap.servers for the consumer.
  • CONSUMER_GROUP_ID: Mandatory The consumer's group.id, visible in the consumer list on the source server.
  • CONSUMER_AUTO_OFFSET_RESET Default: earliest The consumer's auto.offset.reset setting.
  • PRODUCER_BOOTSTRAP_SERVERS: Mandatory The list of bootstrap.servers for the producer.
  • PRODUCER_COMPRESSION_TYPE: Default: lz4 The producer's compression.type setting, for setting transfer compression.
  • WHITELIST: Mandatory The whitelist of topics to be mirrored by this MirrorMaker instance.
  • SLEEP_BEFORE_START: Optional Number of seconds to sleep before starting MirrorMaker. Useful for docker-compose environments.