advertised.listeners — Kafka Broker Configuration
Listeners to publish to ZooKeeper for clients to use, if different than the listeners config property. In IaaS environments, this may need to be different from the interface to which the broker binds.
Description
Listeners to publish to ZooKeeper for clients to use, if different than the listeners config property. In IaaS environments, this may need to be different from the interface to which the broker binds. If this is not set, the value for listeners will be used. Unlike listeners, it is not valid to advertise the 0.0.0.0 meta-address. Also unlike listeners, there can be duplicated ports in this property, so that one listener can be configured to advertise another listener's address. This can be useful in some cases where external load balancers are used.
Default Values by Kafka Version
| Kafka Version | Default Value |
|---|---|
| 0.9.0 | null |
| 0.10.0 | null |
| 0.10.1 | null |
| 0.10.2 | null |
| 0.11.0 | null |
| 1.0 | null |
| 1.1 | null |
| 2.0 | null |
| 2.1 | null |
| 2.2 | null |
| 2.3 | null |
| 2.4 | null |
| 2.5 | null |
| 2.6 | null |
| 2.7 | null |
| 2.8 | null |
| 3.0 | null |
| 3.1 | null |
| 3.2 | null |
| 3.3 | null |
| 3.4 | null |
| 3.5 | null |
| 3.6 | null |
| 3.7 | null |
| 3.8 | null |
| 3.9 | null |
| 4.0 | null |
| 4.1 | null |
| 4.2 | null |