[
https://issues.apache.org/jira/browse/KAFKA-15981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Jacot resolved KAFKA-15981.
---------------------------------
Fix Version/s: 3.7.0
Resolution: Fixed
> update Group size only when groups size changes
> -----------------------------------------------
>
> Key: KAFKA-15981
> URL: https://issues.apache.org/jira/browse/KAFKA-15981
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Jeff Kim
> Assignee: Jeff Kim
> Priority: Major
> Fix For: 3.7.0
>
>
> Currently, we increment generic group metrics whenever we create a new Group
> object when we load a partition. This is incorrect as the partition may
> contain several records for the same group if in the active segment or if the
> segment has not yet been compacted.
> The same applies to removing groups; we can possibly have multiple group
> tombstone records. Instead, only increment the metric if we created a new
> group and only decrement the metric if the group exists.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)