Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5394

KafkaAdminClient#timeoutCallsInFlight does not work as expected

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0.0
    • Component/s: admin
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cmccabe Colin McCabe
                Reporter:
                cmccabe Colin McCabe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: