dongnuo123 commented on code in PR #15662:
URL: https://github.com/apache/kafka/pull/15662#discussion_r1560320708


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/consumer/ConsumerGroup.java:
##########
@@ -180,12 +192,19 @@ public static class DeadlineAndEpoch {
      */
     private DeadlineAndEpoch metadataRefreshDeadline = DeadlineAndEpoch.EMPTY;
 
+    /**
+     * Map of protocol names to the number of members that use legacy protocol 
and support them.
+     */
+    private final TimelineHashMap<String, Integer> 
legacyProtocolMembersSupportedProtocols;

Review Comment:
   We will need it to check if at least one of the given protocols in the 
`JoinGroupRequest` can be supported if a consumer using the classic protocol 
joins the group.



-- 
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.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

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

Reply via email to