conduktor.io ↗

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

AuthorKen Huang
StatusDiscussion
JIRAKAFKA-19515
WikiView on Apache Wiki
Created2025-07-17
Last Modified2025-09-12
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.