diff --git a/server/src/main/java/org/apache/kafka/network/SocketServerConfigs.java b/server/src/main/java/org/apache/kafka/network/SocketServerConfigs.java
index ddbade9a303..d623090ad83 100644
--- a/server/src/main/java/org/apache/kafka/network/SocketServerConfigs.java
+++ b/server/src/main/java/org/apache/kafka/network/SocketServerConfigs.java
@@ -93,17 +93,17 @@ public class SocketServerConfigs {
"Name of listener used for communication between controller and brokers. " +
"A broker will use the %s
to locate the endpoint in %s list, to listen for connections from the controller. " +
"For example, if a broker's config is:%n" +
- "listeners = INTERNAL://192.1.1.8:9092, EXTERNAL://10.1.1.5:9093, CONTROLLER://192.1.1.8:9094" +
- "listener.security.protocol.map = INTERNAL:PLAINTEXT, EXTERNAL:SSL, CONTROLLER:SSL" +
- "control.plane.listener.name = CONTROLLER
%n" +
+ "listeners=INTERNAL://192.1.1.8:9092,EXTERNAL://10.1.1.5:9093,CONTROLLER://192.1.1.8:9094
%n" +
+ "listener.security.protocol.map=INTERNAL:PLAINTEXT,EXTERNAL:SSL,CONTROLLER:SSL
%n" +
+ "control.plane.listener.name = CONTROLLER
%n" +
"On startup, the broker will start listening on \"192.1.1.8:9094\" with security protocol \"SSL\".%n" +
"On the controller side, when it discovers a broker's published endpoints through ZooKeeper, it will use the %1$1s
" +
"to find the endpoint, which it will use to establish connection to the broker.%n" +
"For example, if the broker's published endpoints on ZooKeeper are:%n" +
- " \"endpoints\" : [\"INTERNAL://broker1.example.com:9092\",\"EXTERNAL://broker1.example.com:9093\",\"CONTROLLER://broker1.example.com:9094\"]
%n" +
+ " \"endpoints\":[\"INTERNAL://broker1.example.com:9092\",\"EXTERNAL://broker1.example.com:9093\",\"CONTROLLER://broker1.example.com:9094\"]
%n" +
" and the controller's config is:%n" +
- "listener.security.protocol.map = INTERNAL:PLAINTEXT, EXTERNAL:SSL, CONTROLLER:SSL" +
- "control.plane.listener.name = CONTROLLER
%n" +
+ "listener.security.protocol.map = INTERNAL:PLAINTEXT, EXTERNAL:SSL, CONTROLLER:SSL
%n" +
+ "control.plane.listener.name = CONTROLLER
%n" +
"then the controller will use \"broker1.example.com:9094\" with security protocol \"SSL\" to connect to the broker.%n" +
"If not explicitly configured, the default value will be null and there will be no dedicated endpoints for controller connections.%n" +
"If explicitly configured, the value cannot be the same as the value of %s
.",