KIP-272 — Add API version tag to broker's RequestsPerSec metric
Accepted Kafka 2.0 MetricsProtocol
Adds an API version tag to the broker's `RequestsPerSec` JMX metric, breaking it down into per-API-version counters (e.g., `ProduceRequest.v5`, `FetchRequest.v9`). During rolling upgrades, operators cannot determine what fraction of clients have upgraded to a new API version, making it unsafe to change `message.format.version` or deprecate old request versions.
Details
| Author | Allen Wang |
| Status | Accepted |
| Kafka Version | 2.0 |
| JIRA | KAFKA-6514 |
| Wiki | View on Apache Wiki |
| Created | 2018-03-19 |
| Last Modified | 2018-04-02 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.