Chia-Ping Tsai created KAFKA-18980:
--------------------------------------
Summary: OffsetMetadataManager#cleanupExpiredOffsets should record
the number of records rather than topic partitions
Key: KAFKA-18980
URL: https://issues.apache.org/jira/browse/KAFKA-18980
Project: Kafka
Issue Type: Improvement
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
this is not a bug as the number of records should be equal to number of topic
partitions.
{code:java}
metrics.record(OFFSET_EXPIRED_SENSOR_NAME, expiredPartitions.size());
{code}
https://github.com/apache/kafka/blob/759fbbba8b977206ad189172f429acb97e98a798/group-coordinator/src/main/java/org/apache/kafka/coordinator/group/OffsetMetadataManager.java#L888
--
This message was sent by Atlassian Jira
(v8.20.10#820010)