tet123/documentation/modules/ROOT/partials/assemblies/monitoring/assembly-enabling-jmx-docker.adoc

18 lines
950 B
Plaintext

:context: debezium
[id="enabling-jmx-docker"]
= Enabling JMX in Docker
If you are running Zookeeper, Kafka, and Kafka Connect in Docker containers,
enabling JMX requires several additional environment variables that are not typically needed when running on a local machine.
This is because the JVM requires the host name to which it will advertise itself to JMX clients.
Thus, {prodname}'s Docker images for Zookeeper, Kafka, and Kafka Connect use several environment variables to enable and configure JMX.
Most of the environment variables are the same for all of the images,
but there are some minor differences.
include::{partialsdir}/modules/monitoring/ref-zookeeper-jmx-environment-variables-docker.adoc[leveloffset=+1]
include::{partialsdir}/modules/monitoring/ref-kafka-jmx-environment-variables-docker.adoc[leveloffset=+1]
include::{partialsdir}/modules/monitoring/ref-kafka-connect-jmx-environment-variables-docker.adoc[leveloffset=+1]