From a3599f461bc00a30f6681f0f2c3a91622fad6450 Mon Sep 17 00:00:00 2001 From: Cheryl Simmons Date: Fri, 27 Sep 2024 16:02:47 -0700 Subject: [PATCH] fixing formatting of control.plane.listener.name.doc --- .../apache/kafka/network/SocketServerConfigs.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 ddbade9a30386..d623090ad8309 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.",