This release marks the first fully working version of the Kafka logdriver for Moby/Docker.
Features:
- Container logs written to Kafka topics
- Reading logs back from Kafka with
docker logs
- Configurable output topics
- Configurable partitioning and keying strategy
- Support for 0.8, 0.9 and 0.10 Kafka (this driver utilises the https://github.com/Shopify/sarama Kafka library)
Known Issues:
- Correct number of logs returned with the docker logs
tail
argument are not guaranteed. - No errors are displayed to the user if the Kafka brokers are not set when the plugin is enabled. However they are present in the dockerd logs.
Installation:
Follow the guide in the readme but use the '0.1' tag instead of latest:
docker plugin install --disable mickyg/kafka-logdriver:0.1