client.dns.lookup — Kafka Consumer Configuration
Controls how the client uses DNS lookups. If set to use_all_dns_ips, connect to each returned IP address in sequence until a successful connection is established.
Description
Controls how the client uses DNS lookups. If set to use_all_dns_ips, connect to each returned IP address in sequence until a successful connection is established. After a disconnection, the next IP is used. Once all IPs have been used once, the client resolves the IP(s) from the hostname again (both the JVM and the OS cache DNS name lookups, however). If set to resolve_canonical_bootstrap_servers_only, resolve each bootstrap address into a list of canonical names. After the bootstrap phase, this behaves the same as use_all_dns_ips.
Default Values by Kafka Version
| Kafka Version | Default Value |
|---|---|
| 2.1 | default |
| 2.2 | default |
| 2.3 | default |
| 2.4 | default |
| 2.5 | default |
| 2.6 | use_all_dns_ips |
| 2.7 | use_all_dns_ips |
| 2.8 | use_all_dns_ips |
| 3.0 | use_all_dns_ips |
| 3.1 | use_all_dns_ips |
| 3.2 | use_all_dns_ips |
| 3.3 | use_all_dns_ips |
| 3.4 | use_all_dns_ips |
| 3.5 | use_all_dns_ips |
| 3.6 | use_all_dns_ips |
| 3.7 | use_all_dns_ips |
| 3.8 | use_all_dns_ips |
| 3.9 | use_all_dns_ips |
| 4.0 | use_all_dns_ips |
| 4.1 | use_all_dns_ips |
| 4.2 | use_all_dns_ips |
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.