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


##########
core/src/main/scala/kafka/server/KafkaApis.scala:
##########
@@ -3797,10 +3797,16 @@ class KafkaApis(val requestChannel: RequestChannel,
       )
   }
 
+  private def isConsumerGroupProtocolEnabled(): Boolean = {
+    val featureLevel = 
metadataCache.features().finalizedFeatures().getOrDefault(GroupVersion.FEATURE_NAME,
 GroupVersion.GV_1.featureLevel)

Review Comment:
   We could also use 0 as the default and 1 for the new protocol. It would also 
work for me.



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