conduktor.io ↗

KIP-602 — Change default value for client.dns.lookup

Accepted Kafka 2.6 Client

Changes the default value of `client.dns.lookup` from `default` to `use_all_dns_ips` so clients automatically try all IP addresses returned by DNS before marking a hostname as unreachable. The previous default tried only the first IP address, causing connection failures when a hostname resolved to multiple IPs and the first IP was unavailable (e.g. during rolling restarts behind a DNS load balancer).

Details

AuthorBadai Aqrandista
StatusAccepted
Kafka Version2.6
JIRAKAFKA-9313
WikiView on Apache Wiki
Created2020-04-20
Last Modified2020-06-04
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.