DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
Status
Current state: "Under Discussion"
Discussion thread: here [Change the link from the KIP proposal email archive to your own email thread]
JIRA: KAFKA-17876
Motivation
The metrics were originally named `kafka.<COMPONENT>`, but they were unexpectedly changed when ew move Java classes from `kafka.server` to the server module in this (commit)[https://github.com/apache/kafka/commit/df78204e05bb1c416d977a0a36f4c263251ae4ef#diff-16a3a4c37cd87960638de8160b1969a0df76f1c0322c4af026bd2b9802777cbeL18]
Subsequent developers didn’t notice this change and used the new package name as the metricName. The correct naming should actually be reverted to kafka.<COMPONENT>.
This KIP want to standardize the naming format of Kafka metrics by updating the `org.apache.kafka.server:type=AssignmentsManager`
metric to align with the convention used by other Kafka metrics which are the `kafka.<COMPONENT>` format. This change will improve
the uniformity metric naming.
Public Interfaces
org.apache.kafka.server.AssignmentsManager
Proposed Changes
Rename the `org.apache.kafka.server:type=AssignmentsManager` metric to `kafka.server:type=AssignmentsManager`. This change will impact external
monitoring systems that rely on this metric, and corresponding modifications will be needed to support the new name.
Compatibility, Deprecation, and Migration Plan
1. Add new warn log which is "org.apache.kafka.server:type=AssignmentsManager will be deprecated in the future, it will rename to
kafka.server:type=AssignmentsManager" in `AssignmentsManager#metricName` method.
2. In the next major release, we will update `AssignmentsManager#metricName` method to return `kafka.server:type=AssignmentsManager`.
Test Plan
n/a
Rejected Alternatives
n/a