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

NetworkClient should not return internal failed api version responses from poll

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.1, 1.1.0
    • None
    • None

    Description

      In the AdminClient, if the initial ApiVersion request sent to the broker fails, we see the following obscure message:

      [2017-11-30 17:18:48,677] ERROR Internal server error on -2: server returned information about unknown correlation ID 0.  requestHeader = {api_key=18,api_version=1,correlation_id=0,client_id=adminclient-3} (org.apache.kafka.clients.admin.KafkaAdminClient)
      

      What's happening is that the response to the internal ApiVersion request which is received in NetworkClient is mistakenly being sent to the upper layer (the admin client in this case). The admin wasn't expecting it, so we see this message. Instead, the request should be handled internally in NetworkClient.

      Attachments

        Issue Links

          Activity

            People

              hachikuji Jason Gustafson
              hachikuji Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: