chia7712 commented on code in PR #17013:
URL: https://github.com/apache/kafka/pull/17013#discussion_r1734658143


##########
core/src/main/scala/kafka/server/KafkaApis.scala:
##########
@@ -3808,8 +3808,14 @@ class KafkaApis(val requestChannel: RequestChannel,
       )
   }
 
+  private def groupVersion(): GroupVersion = {
+    
GroupVersion.fromFeatureLevel(metadataCache.features.finalizedFeatures.getOrDefault(GroupVersion.FEATURE_NAME,
 0.toShort))
+  }
+
   private def isConsumerGroupProtocolEnabled(): Boolean = {
-    groupCoordinator.isNewGroupCoordinator && 
config.groupCoordinatorRebalanceProtocols.contains(Group.GroupType.CONSUMER)
+    groupCoordinator.isNewGroupCoordinator &&

Review Comment:
   > So we also have groupCoordinatorRebalanceProtocols as a static config to 
allow admin to disable the new protocol or other future protocols if they 
really don't want them. 
   
   However, users must use it if they want to enable `CONSUMER` protocol, since 
the default value has only `CLASSIC` protocol. Maybe we should revert the 
config from "enable" to "disable"?
   
   



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