You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/03/22 11:45:00 UTC
[jira] [Resolved] (KAFKA-18980) OffsetMetadataManager#cleanupExpiredOffsets should record the number of records rather than topic partitions
[ https://issues.apache.org/jira/browse/KAFKA-18980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-18980.
------------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
> 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: Nick Guo
> Priority: Minor
> Fix For: 4.1.0
>
>
> 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)