conduktor.io ↗

KIP-302 — Enable Kafka clients to use all DNS resolved IP addresses

Accepted Kafka 2.1 Client

KIP-302 adds a `use_all_dns_ips` option to the existing `client.dns.lookup` config, making Kafka clients iterate over all A records returned by DNS for a hostname rather than connecting to only the first resolved IP. This enables HA patterns where broker hostnames resolve to multiple load-balancer IPs, so a client can fail over to an alternate IP transparently instead of marking the broker as unavailable.

Details

AuthorEdoardo Comar
StatusAccepted
Kafka Version2.1
JIRAKAFKA-6863
WikiView on Apache Wiki
Created2018-05-14
Last Modified2018-10-24
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.