cmccabe commented on a change in pull request #11629:
URL: https://github.com/apache/kafka/pull/11629#discussion_r779255324



##########
File path: 
core/src/test/scala/integration/kafka/api/IntegrationTestHarness.scala
##########
@@ -80,6 +81,19 @@ abstract class IntegrationTestHarness extends 
KafkaServerTestHarness {
     }
   }
 
+  private def insertControllerListenersIfNeeded(props: Seq[Properties]): Unit 
= {
+    if (isKRaftTest()) {
+      props.foreach { config =>
+        // Add a security protocol for the CONTROLLER endpoint, if one is not 
already set.
+        val securityPairs = 
config.getProperty(KafkaConfig.ListenerSecurityProtocolMapProp, "").split(",")
+        if (!securityPairs.exists(_.startsWith("CONTROLLER:"))) {

Review comment:
       ok




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