You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2017/12/01 04:02:00 UTC

[jira] [Created] (KAFKA-6289) NetworkClient should not return internal failed api version responses from poll

Jason Gustafson created KAFKA-6289:
--------------------------------------

             Summary: NetworkClient should not return internal failed api version responses from poll
                 Key: KAFKA-6289
                 URL: https://issues.apache.org/jira/browse/KAFKA-6289
             Project: Kafka
          Issue Type: Bug
            Reporter: Jason Gustafson
            Assignee: Jason Gustafson


In the AdminClient, if the initial ApiVersion request sent to the broker fails, we see the following obscure message:
{code}
[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)
{code}
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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)