rondagostino commented on a change in pull request #11503:
URL: https://github.com/apache/kafka/pull/11503#discussion_r752307030



##########
File path: core/src/main/scala/kafka/server/BrokerServer.scala
##########
@@ -404,10 +404,6 @@ class BrokerServer(
         config.numIoThreads, 
s"${SocketServer.DataPlaneMetricPrefix}RequestHandlerAvgIdlePercent",
         SocketServer.DataPlaneThreadPrefix)
 
-      if (socketServer.controlPlaneRequestChannelOpt.isDefined) {
-        throw new RuntimeException(KafkaConfig.ControlPlaneListenerNameProp + 
" is not " +
-          "supported when in KRaft mode.")
-      }

Review comment:
       Removing since it is redundant -- we are now checking this when creating 
a KafkaConfig




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