dajac commented on code in PR #15954:
URL: https://github.com/apache/kafka/pull/15954#discussion_r1603525427


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java:
##########
@@ -1244,15 +1244,16 @@ private void throwIfClassicProtocolUnmatched(
         String requestProtocolType,
         String requestProtocolName
     ) {
+        String protocolName = 
member.supportedClassicProtocols().get().iterator().next().name();

Review Comment:
   I just recalled that the protocol type and name are optional in the sync 
group request so we should only validate them if they are non-null.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to