conduktor.io ↗

KIP-1242 — Detection and handling of misrouted connections

Accepted BrokerProtocol

Introduces misrouted-connection detection by having the broker send a DisconnectResponse (or equivalent signal) when a client connects to the wrong broker, enabling the client to refresh metadata and reconnect correctly. In Kubernetes rolling restarts, a broker can change its advertised hostname and a client using stale bootstrap metadata silently connects to the wrong broker, leading to confusing failures that require a full client restart to resolve.

Details

AuthorAndrew Schofield
StatusAccepted
JIRAKAFKA-20246
WikiView on Apache Wiki
Created2025-11-20
Last Modified2026-03-14
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.