diff --git a/docs/ops.html b/docs/ops.html index e14231c37dc..600b5006b55 100644 --- a/docs/ops.html +++ b/docs/ops.html @@ -786,6 +786,16 @@ records-consumed-rate has a corresponding metric named records-consumed-total.

The easiest way to see the available metrics is to fire up jconsole and point it at a running kafka client or server; this will allow browsing all metrics with JMX. + +

Security Considerations for Remote Monitoring using JMX

+ Apache Kafka disables remote JMX by default. You can enable remote monitoring using JMX by setting the environment variable + JMX_PORT for processes started using the CLI or standard Java system properties to enable remote JMX programmatically. + You must enable security when enabling remote JMX in production scenarios to ensure that unauthorized users cannot monitor or + control your broker or application as well as the platform on which these are running. Note that authentication is disabled for + JMX by default in Kafka and security configs must be overridden for production deployments by setting the environment variable + KAFKA_JMX_OPTS for processes started using the CLI or by setting appropriate Java system properties. See + Monitoring and Management Using JMX Technology + for details on securing JMX.

We do graphing and alerting on the following metrics: