--kafka-addr
The Redpanda start flag that sets the address and port the broker listens on for Kafka clients.
In more detail
The course uses 0.0.0.0:9092 so the broker accepts connections on every network interface inside its container. Listening is only half the setup: clients must also be told a reachable address, which is what --advertise-kafka-addr does.
Example
--kafka-addr 0.0.0.0:9092Related terms
- 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.
- bind address — The network address a server listens on, which decides who can connect to it.
- port — A number from 1 to 65535 that picks out one service on a machine, such as 22 for SSH or 80 for plain web traffic.
Taught in
- Works On A Laptop, Fails In Production — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Stuck On One Record — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Certificate That Expired On A Sunday — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Where Is The Password Kept? — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Why A Log And Not A Queue — Apache Kafka & Event Streaming
- Starting A Broker And Reading Its Metadata — Apache Kafka & Event Streaming