advertised address

The host name and port a broker tells clients to use when they connect back to it, set in Redpanda with --advertise-kafka-addr.

In more detail

A client first connects to a bootstrap server, then receives cluster metadata listing each broker's advertised address and reconnects there. If the advertised address is localhost or an internal IP address, clients in other containers cannot reach it. The course advertises the container name, which Docker DNS resolves on the shared network.

Example

--advertise-kafka-addr m01l02-broker:9092

Related terms

Taught in

References

Certification courses