conduktor.io ↗

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 VersionDefault Value
2.1default
2.2default
2.3default
2.4default
2.5default
2.6use_all_dns_ips
2.7use_all_dns_ips
2.8use_all_dns_ips
3.0use_all_dns_ips
3.1use_all_dns_ips
3.2use_all_dns_ips
3.3use_all_dns_ips
3.4use_all_dns_ips
3.5use_all_dns_ips
3.6use_all_dns_ips
3.7use_all_dns_ips
3.8use_all_dns_ips
3.9use_all_dns_ips
4.0use_all_dns_ips
4.1use_all_dns_ips
4.2use_all_dns_ips
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.