chia7712 commented on a change in pull request #10273:
URL: https://github.com/apache/kafka/pull/10273#discussion_r589570181



##########
File path: core/src/main/scala/kafka/coordinator/group/GroupCoordinator.scala
##########
@@ -561,7 +561,8 @@ class GroupCoordinator(val brokerId: Int,
 
             // if this is the leader, then we can attempt to persist state and 
transition to stable
             if (group.isLeader(memberId)) {
-              info(s"Assignment received from leader for group 
${group.groupId} for generation ${group.generationId}")
+              info(s"Assignment received from leader for group 
${group.groupId} for generation ${group.generationId}. " +
+                s"The group has ${group.allMembers.size} members, 
${group.allStaticMembers.size} of which are static.")

Review comment:
       Could you replace `${group.allMembers.size}` by `${group.size}`?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to