conduktor.io ↗

KIP-703 — Add a metric for reporting idle connections closed

Discussion MetricsBroker

Introduces a new JMX metric `connection-close-total` (tagged by `close-reason=idle`) on the `Selector` to count the number of connections closed due to exceeding `connection.max.idle.ms`. Currently, idle connection closures are only visible at TRACE log level, making it impossible to monitor this behavior from standard metrics/alerting infrastructure.

Details

AuthorPere Urbon
StatusDiscussion
JIRAKAFKA-12166
WikiView on Apache Wiki
Created2021-01-08
Last Modified2021-01-08
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.