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
| Author | Edoardo Comar |
| Status | Accepted |
| Kafka Version | 2.1 |
| JIRA | KAFKA-6863 |
| Wiki | View on Apache Wiki |
| Created | 2018-05-14 |
| Last Modified | 2018-10-24 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.