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
- links to