KIP-1202 — Align broker and controller "advertised.listeners" and "listeners" behaviour
Discussion BrokerKRaft
Aligns broker and controller behavior for advertised.listeners: when listeners is set to 0.0.0.0, brokers will now auto-infer advertised.listeners (replacing 0.0.0.0 with null/hostname) instead of throwing IllegalArgumentException, matching the existing controller behavior. The asymmetry meant operators had to remember that controllers tolerate 0.0.0.0 in listeners but brokers require explicit advertised.listeners, complicating configuration templates.
Details
| Author | Ken Huang |
| Status | Discussion |
| JIRA | KAFKA-19515 |
| Wiki | View on Apache Wiki |
| Created | 2025-07-17 |
| Last Modified | 2025-09-12 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.