dajac commented on code in PR #16945:
URL: https://github.com/apache/kafka/pull/16945#discussion_r1725241272
##########
core/src/main/scala/kafka/server/KafkaConfig.scala:
##########
@@ -577,23 +577,17 @@ class KafkaConfig private(doLog: Boolean, val props:
util.Map[_, _])
if (processRoles.isEmpty) {
throw new ConfigException(s"The new '${GroupType.CONSUMER}' rebalance
protocol is only supported in KRaft cluster.")
}
- warn(s"The new '${GroupType.CONSUMER}' rebalance protocol is enabled
along with the new group coordinator. " +
- "This is part of the preview of KIP-848 and MUST NOT be used in
production.")
}
if (protocols.contains(GroupType.SHARE)) {
- // The CONSUMER protocol enables the new group coordinator, and that's a
prerequisite for share groups.
- if (!protocols.contains(GroupType.CONSUMER)) {
Review Comment:
That's fair. Let me add it.
--
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]