showuon commented on a change in pull request #11616:
URL: https://github.com/apache/kafka/pull/11616#discussion_r771906523



##########
File path: config/kraft/broker.properties
##########
@@ -31,22 +31,23 @@ controller.quorum.voters=1@localhost:9093
 
 ############################# Socket Server Settings 
#############################
 
-# The address the socket server listens on. It will get the value returned from
-# java.net.InetAddress.getCanonicalHostName() if not configured.
+# The address the socket server listens on. If not configured, the host name 
will get from
+# java.net.InetAddress.getCanonicalHostName(), with PLAINTEXT listener name, 
and port 9092.
 #   FORMAT:
 #     listeners = listener_name://host_name:port
 #   EXAMPLE:
 #     listeners = PLAINTEXT://your.host.name:9092
 listeners=PLAINTEXT://localhost:9092
+
+# Name of listener used for communication between brokers.
 inter.broker.listener.name=PLAINTEXT
 
-# Hostname and port the broker will advertise to producers and consumers. If 
not set,
-# it uses the value for "listeners" if configured.  Otherwise, it will use the 
value
-# returned from java.net.InetAddress.getCanonicalHostName().
+# Listener name, hostname and port the broker will advertise to producers and 
consumers.
+# If not set, it uses the value for "listeners".

Review comment:
       Simplify it, to remove the last sentence since it's introduced in 
`listeners`




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