chernyih opened a new pull request, #12131:
URL: https://github.com/apache/kafka/pull/12131

   When a client connects to a SSL listener using PLAINTEXT security protocol,
   after the TCP connection is setup, the client considers the channel setup is
   complete. In reality the channel setup is not complete yet. The client then
   resets reconnect exponential backoff and issues API version request. Since
   the broker expects SSL handshake, the API version request will cause the
   connection to disconnect. Reconnect will happen without exponential backoff
   since it has been reset.
   
   The proposed fix is not to reset reconnect exponential backoff when sending
   API version request. In the good case where the channel setup is complete, 
reconnect
   exponential backoff will be reset when the node becomes ready, which is 
after getting
   the API version response. The fix doesn't cover the case where clients do not
   send API version request and go directly to ready state.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to