From a3210d7bebab1df2ab0ad938c8c8d1ddc3e25718 Mon Sep 17 00:00:00 2001 From: Sean Quah Date: Tue, 11 Aug 2026 08:07:37 +0100 Subject: [PATCH 1/2] KAFKA-20919: Document KIP-1301 group coordinator metrics changes Mark the Yammer group coordinator metrics as deprecated and document the replacement classic-group-count and offset-count metrics. --- docs/operations/monitoring.md | 38 +++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/docs/operations/monitoring.md b/docs/operations/monitoring.md index 5764eaf41e153..004501741c52b 100644 --- a/docs/operations/monitoring.md +++ b/docs/operations/monitoring.md @@ -1556,7 +1556,7 @@ The total number of groups found eligible for plugin-state deletion by the clean -Classic Group Count +Classic Group Count (deprecated) @@ -1564,12 +1564,12 @@ kafka.server:type=GroupMetadataManager,name=NumGroups -Total number of Classic Groups +Total number of Classic Groups. Deprecated: use group-count with protocol=classic instead -Classic Group Count, per State +Classic Group Count, per State (deprecated) @@ -1577,7 +1577,20 @@ kafka.server:type=GroupMetadataManager,name=NumGroups[PreparingRebalance,Complet -The number of Classic Groups in each state: PreparingRebalance, CompletingRebalance, Empty, Stable, Dead +The number of Classic Groups in each state: PreparingRebalance, CompletingRebalance, Empty, Stable, Dead. Deprecated: use classic-group-count instead + + + + +Classic Group Count, per state + + + +kafka.server:type=group-coordinator-metrics,name=classic-group-count,state=[empty|preparing_rebalance|completing_rebalance|stable|dead] + + + +Total number of Classic Groups in each state: Empty, PreparingRebalance, CompletingRebalance, Stable, Dead @@ -1608,7 +1621,7 @@ The total number of classic group completed rebalances -Group Offset Count +Group Offset Count (deprecated) @@ -1616,7 +1629,20 @@ kafka.server:type=GroupMetadataManager,name=NumOffsets -Total number of committed offsets for Classic and Consumer Groups +Total number of committed offsets for Classic and Consumer Groups. Deprecated: use offset-count instead + + + + +Group Offset Count + + + +kafka.server:type=group-coordinator-metrics,name=offset-count + + + +The number of offsets currently retained for Classic, Consumer and Streams Groups From 556ccd41f930e8988852528f6a53293721e27781 Mon Sep 17 00:00:00 2001 From: Sean Quah Date: Tue, 18 Aug 2026 15:50:12 +0100 Subject: [PATCH 2/2] fixup: fix (classic|consumer|streams)-group-count tag capitalization --- docs/operations/monitoring.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/operations/monitoring.md b/docs/operations/monitoring.md index 004501741c52b..7ff73ea7cdb2e 100644 --- a/docs/operations/monitoring.md +++ b/docs/operations/monitoring.md @@ -1274,7 +1274,7 @@ Consumer Group Count, per state -kafka.server:type=group-coordinator-metrics,name=consumer-group-count,state=[empty|assigning|reconciling|stable|dead] +kafka.server:type=group-coordinator-metrics,name=consumer-group-count,state=[Empty|Assigning|Reconciling|Stable|Dead] @@ -1313,11 +1313,11 @@ Streams Group Count, per state -kafka.server:type=group-coordinator-metrics,name=streams-group-count,state=[empty|not_ready|assigning|reconciling|stable|dead] +kafka.server:type=group-coordinator-metrics,name=streams-group-count,state=[Empty|NotReady|Assigning|Reconciling|Stable|Dead] -Total number of Streams Groups in each state: Empty, Not Ready, Assigning, Reconciling, Stable, Dead +Total number of Streams Groups in each state: Empty, NotReady, Assigning, Reconciling, Stable, Dead @@ -1586,7 +1586,7 @@ Classic Group Count, per state -kafka.server:type=group-coordinator-metrics,name=classic-group-count,state=[empty|preparing_rebalance|completing_rebalance|stable|dead] +kafka.server:type=group-coordinator-metrics,name=classic-group-count,state=[Empty|PreparingRebalance|CompletingRebalance|Stable|Dead]