You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Dongnuo Lyu (Jira)" <ji...@apache.org> on 2025/01/27 18:00:00 UTC

[jira] [Created] (KAFKA-18655) Implement the consumer group size counter with scheduled task

Dongnuo Lyu created KAFKA-18655:
-----------------------------------

             Summary: Implement the consumer group size counter with scheduled task
                 Key: KAFKA-18655
                 URL: https://issues.apache.org/jira/browse/KAFKA-18655
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Dongnuo Lyu
            Assignee: Dongnuo Lyu


During testing we discovered that the empty group count is not updated in group conversion, but when the new group is transition to other state, the empty group count is decremented. This could result in negative empty group count. 

We can have a new consumer group count implementation that follows the pattern we did for the classic group count. The timeout task periodically refreshes the metrics based on the current groups soft state.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)