--rpc-addr
The Redpanda start flags that set where a broker listens, and what address it advertises, for broker-to-broker traffic.
In more detail
Brokers use this internal channel, on port 33145 by default, to replicate data and agree on cluster state. It is separate from the Kafka port that clients use. The three-broker lessons set both flags so each broker can find the others by container name.
Example
--rpc-addr 0.0.0.0:33145 --advertise-rpc-addr m07l01-b1:33145Related terms
- RPC — A remote procedure call: calling a function in another program over a network as if it were a local function call.
- --seeds — A Redpanda start flag listing the brokers a new broker contacts to discover and join the cluster.
- 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.
- replication — Keeping copies of data in more than one place, updated automatically, so one failure does not lose or block it.
Taught in
- Three Brokers: Replication And Leaders — Apache Kafka & Event Streaming