MOVED TO: argussecurity/kafka-prometheus
10K+
Source Repository: https://github.com/argussecurity/docker-kafka
(Not using Automated Build because the build fails with 'exception' and no logs, for some reason)
Based on wurstmeister/kafka-docker,
with Prometheus.io's JMX Exporter added,
so you can use it as a javaagent, to export metrics to Prometheus.
(jmx_prometheus_javaagent-0.5.jar is from Maven Central). Put it in here because Docker Hub's automated build fails for some reason.
Tag from wurstmeister/kafka is missing? Send a pull request and we'll trigger a build.
To use the Prometheus JMX Exporter as a java agent and export the metrics, you should export environment variable
KAFKA_OPTS=-javaagent:/usr/app/jmx_prometheus_javaagent.jar=<LISTEN_PORT>:<PATH_TO_CONFIG_FILE> (see JMX Exporter's doc)
PATH_TO_CONFIG_FILE can be set to /usr/app/prometheus-config.yml to use JMX Exporter's suggested default configurations.
docker run -p 9092:9092 -p 8080:8080 -e "KAFKA_OPTS=-javaagent:/usr/app/jmx_prometheus_javaagent.jar=8080:/usr/app/prometheus-config.yml" argussecurity/kafka:0.8.2.0
Content type
Image
Digest
sha256:4f45e7e06…
Size
223 MB
Last updated
over 10 years ago
docker pull argussecurity/kafka