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


##########
test-common/test-common-runtime/src/main/java/org/apache/kafka/common/test/KafkaClusterTestKit.java:
##########
@@ -556,7 +556,7 @@ public String bootstrapServers() {
             int brokerId = entry.getKey();
             BrokerServer broker = entry.getValue();
             ListenerName listenerName = nodes.brokerListenerName();
-            int port = broker.boundPort(listenerName);
+            int port = 
broker.boundPort(ListenerName.normalised(listenerName.value()));

Review Comment:
   Could you please add comments to explain the behavior? Also, the controller 
listener name needs comment too. 



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