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

Authentication exceptions during consumer metadata updates may not get propagated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • consumer
    • None

    Description

      The consumer should propagate authentication errors to the user. We handle the common case in ConsumerNetworkClient when the exception occurs in response to an explicitly provided request. However, we are missing the logic to propagate exceptions during metadata updates, which are handled internally by NetworkClient. This logic exists in ConsumerNetworkClient.awaitMetadataUpdate, but metadata updates can occur outside of this path. Probably we just need to move that logic into ConsumerNetworkClient.poll() so that errors are always checked.

      Attachments

        Issue Links

          Activity

            People

              dhruvilshah Dhruvil Shah
              hachikuji Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: