KIP-909 — DNS Resolution Failure Should Not Fail the Client
Accepted Kafka 4.3 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.3 |
| JIRA | KAFKA-14648 |
| Wiki | View on Apache Wiki |
| Created | 2023-02-22 |
| Last Modified | 2026-03-21 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.