You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Rajini Sivaram (JIRA)" <ji...@apache.org> on 2017/12/08 11:00:06 UTC

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

     [ https://issues.apache.org/jira/browse/KAFKA-6289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajini Sivaram resolved KAFKA-6289.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.1
                   1.1.0

Issue resolved by pull request 4280
[https://github.com/apache/kafka/pull/4280]

> 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
>             Fix For: 1.1.0, 1.0.1
>
>
> 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)