[ https://issues.apache.org/jira/browse/KAFKA-5394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16040999#comment-16040999 ]
ASF GitHub Bot commented on KAFKA-5394: --------------------------------------- GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/3258 KAFKA-5394; Fix disconnections due to timeouts in AdminClient You can merge this pull request into a Git repository by running: $ git pull https://github.com/ijuma/kafka kafka-5394-admin-client-timeouts Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3258.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3258 ---- ---- > KafkaAdminClient#timeoutCallsInFlight does not work as expected > --------------------------------------------------------------- > > Key: KAFKA-5394 > URL: https://issues.apache.org/jira/browse/KAFKA-5394 > Project: Kafka > Issue Type: Bug > Components: admin > Reporter: Colin P. McCabe > Assignee: Colin P. McCabe > > {{KafkaAdminClient#timeoutCallsInFlight}} does not work as expected. The > original idea was that this function would time out a call by closing the > associated socket. Then the following {{NetworkClient#poll}} call would > trigger the call to be removed. However, it turns out that it sometimes > takes time for the {{NetworkClient#poll}} call to return the disconnection > events. This leads to the call lingering for a while, causing us to > repeatedly disconnect connections to that node. -- This message was sent by Atlassian JIRA (v6.3.15#6346)