mirror of https://github.com/apache/kafka.git
MINOR; Update the properties files for controller with advertised.listeners (#16473)
Update the documentation for the example properties files now that controllers are allowed to advertise their endpoints. Reviewers: José Armando García Sancio <jsancio@apache.org>
This commit is contained in:
parent
9f7afafefe
commit
22787de482
|
@ -39,6 +39,11 @@ controller.quorum.voters=1@localhost:9093
|
||||||
# listeners = PLAINTEXT://your.host.name:9092
|
# listeners = PLAINTEXT://your.host.name:9092
|
||||||
listeners=CONTROLLER://:9093
|
listeners=CONTROLLER://:9093
|
||||||
|
|
||||||
|
# Listener name, hostname and port the controller will advertise to admin clients, broker nodes and controller nodes.
|
||||||
|
# Note that the only controller listeners are allowed here when `process.roles=controller`.
|
||||||
|
# If not set, it uses the value for "listeners".
|
||||||
|
advertised.listeners=CONTROLLER://localhost:9093
|
||||||
|
|
||||||
# A comma-separated list of the names of the listeners used by the controller.
|
# A comma-separated list of the names of the listeners used by the controller.
|
||||||
# This is required if running in KRaft mode.
|
# This is required if running in KRaft mode.
|
||||||
controller.listener.names=CONTROLLER
|
controller.listener.names=CONTROLLER
|
||||||
|
|
|
@ -44,9 +44,9 @@ listeners=PLAINTEXT://:9092,CONTROLLER://:9093
|
||||||
# Name of listener used for communication between brokers.
|
# Name of listener used for communication between brokers.
|
||||||
inter.broker.listener.name=PLAINTEXT
|
inter.broker.listener.name=PLAINTEXT
|
||||||
|
|
||||||
# Listener name, hostname and port the broker will advertise to clients.
|
# Listener name, hostname and port the broker or the controller will advertise to clients.
|
||||||
# If not set, it uses the value for "listeners".
|
# If not set, it uses the value for "listeners".
|
||||||
advertised.listeners=PLAINTEXT://localhost:9092
|
advertised.listeners=PLAINTEXT://localhost:9092,CONTROLLER://localhost:9093
|
||||||
|
|
||||||
# A comma-separated list of the names of the listeners used by the controller.
|
# A comma-separated list of the names of the listeners used by the controller.
|
||||||
# If no explicit mapping set in `listener.security.protocol.map`, default will be using PLAINTEXT protocol
|
# If no explicit mapping set in `listener.security.protocol.map`, default will be using PLAINTEXT protocol
|
||||||
|
|
Loading…
Reference in New Issue