KIP-909 — DNS Resolution Failure Should Not Fail the Clients
Accepted Kafka 4.4 (announced feature) Client
Changes Kafka client construction to tolerate transient DNS resolution failures by deferring the fatal ConfigException and retrying resolution in the background during the connection establishment phase. A client whose bootstrap.servers hostname cannot be resolved at construction time immediately throws a ConfigException and dies, even if the DNS entry is about to become available—an especially severe problem in containerized environments with slow DNS propagation.
Details
| Author | Philip Nee |
| Status | Accepted |
| Kafka Version | 4.4 (announced feature) |
| JIRA | KAFKA-14648 |
| Wiki | View on Apache Wiki |
| Created | 2023-02-22 |
| Last Modified | 2026-09-08 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.