Apoorv Mittal created KAFKA-15813: ------------------------------------- Summary: Improve implementation of client instnce cache Key: KAFKA-15813 URL: https://issues.apache.org/jira/browse/KAFKA-15813 Project: Kafka Issue Type: Sub-task Reporter: Apoorv Mittal Assignee: Apoorv Mittal
In the current implementation the ClientMetricsManager uses LRU cache but we should alos support expiring stale clients i.e. client which haven't reported metrics for a while. The KIP mentions: This client instance specific state is maintained in broker memory up to MAX(60*1000, PushIntervalMs * 3) milliseconds and is used to enforce the push interval rate-limiting. There is no persistence of client instance metrics state across broker restarts or between brokers -- This message was sent by Atlassian Jira (v8.20.10#820010)