KIP-1223 — Add user tag to DeprecatedRequestsMetric
Discussion MetricsSecurity
Adds an optional user (principal name) tag to the DeprecatedRequestsPerSec JMX metric, gated behind a new config kafka.metrics.deprecated.requests.tag.user.enabled. The existing metric from KIP-896 could not identify which principal was sending deprecated API requests in multi-tenant clusters where multiple users share the same client.
Details
| Author | Gaurav Narula |
| Status | Discussion |
| Wiki | View on Apache Wiki |
| Created | 2025-10-03 |
| Last Modified | 2025-10-21 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.