You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Mickael Maison (Jira)" <ji...@apache.org> on 2021/10/04 16:47:00 UTC
[jira] [Updated] (KAFKA-12762) Use connection timeout when polling
the network for new connections
[ https://issues.apache.org/jira/browse/KAFKA-12762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mickael Maison updated KAFKA-12762:
-----------------------------------
Fix Version/s: 3.0.1
> Use connection timeout when polling the network for new connections
> -------------------------------------------------------------------
>
> Key: KAFKA-12762
> URL: https://issues.apache.org/jira/browse/KAFKA-12762
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 2.7.0, 2.8.0
> Reporter: Mickael Maison
> Assignee: Edoardo Comar
> Priority: Major
> Fix For: 3.1.0, 3.0.1
>
>
> In some cases, when connecting to brokers, we end up calling selector.select() with the wrong timeout. Since 2.7, we should use a timeout computed from socket.connection.setup.timeout.ms to ensure we detect bad hosts quickly.
> This is especially relevant now that client.dns.lookup defaults to use_all_dns_ips. In case, one of the IPs returned in currently unavailable, we want the client to quickly discover it and avoid timing out user calls.
> h4.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)