KIP-1193 — Deprecate MX4j support
Accepted Kafka 4.2 Metrics
Deprecates MX4J support (the kafka_mx4jenable JVM flag) in Kafka 4.2 and removes it in 5.0. MX4J is a library for exposing JMX over HTTP that was last released in 2006, is completely undocumented in Kafka's official docs, and has had no reported users since a 2016 mailing list query, yet it adds maintenance burden and potential security exposure.
Details
| Author | Federico Valeri |
| Status | Accepted |
| Kafka Version | 4.2 |
| JIRA | KAFKA-19503 |
| Wiki | View on Apache Wiki |
| Created | 2025-07-14 |
| Last Modified | 2025-07-21 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.