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

Fix AdminClient error handling when metadata changes

    XMLWordPrintableJSON

    Details

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

      Description

      • AdminClient should only call Metadata#requestUpdate when needed.
      • AdminClient should retry requests for which the controller has changed.
      • Fix an issue where AdminClient requests might not get a security exception, even when a metadata fetch fails with an authorization exception.
      • Fix a possible issue where AdminClient might leak a socket after the timeout expires on a hard close, if a very narrow race condition is hit

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: