conduktor.io ↗

advertised.listeners — Kafka Broker Configuration

Specifies the listener addresses that the Kafka brokers will advertise to clients and other brokers. The config is useful where the actual listener configuration listeners does not represent the addresses that clients should use to connect, such as in cloud environments

Description

Specifies the listener addresses that the Kafka brokers will advertise to clients and other brokers. The config is useful where the actual listener configuration listeners does not represent the addresses that clients should use to connect, such as in cloud environments. The addresses are published to and managed by the controller, the brokers pull these data from the controller as needed. 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

ComponentKafka version lineDocumented default
Broker0.9.0null
Broker0.10.0null
Broker0.10.1null
Broker0.10.2null
Broker0.11.0null
Broker1.0null
Broker1.1null
Broker2.0null
Broker2.1null
Broker2.2null
Broker2.3null
Broker2.4null
Broker2.5null
Broker2.6null
Broker2.7null
Broker2.8null
Broker3.0null
Broker3.1null
Broker3.2null
Broker3.3null
Broker3.4null
Broker3.5null
Broker3.6null
Broker3.7null
Broker3.8null
Broker3.9null
Broker4.0null
Broker4.1null
Broker4.2null
Broker4.3null
Broker4.4null
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.