You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Guozhang Wang (Jira)" <ji...@apache.org> on 2022/05/05 23:26:00 UTC

[jira] [Assigned] (KAFKA-13879) Exponential backoff for reconnect does not work

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

Guozhang Wang reassigned KAFKA-13879:
-------------------------------------

    Assignee: Chern Yih Cheah

> Exponential backoff for reconnect does not work
> -----------------------------------------------
>
>                 Key: KAFKA-13879
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13879
>             Project: Kafka
>          Issue Type: Bug
>          Components: network
>    Affects Versions: 2.7.0
>            Reporter: Chern Yih Cheah
>            Assignee: Chern Yih Cheah
>            Priority: Minor
>
> 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 issues API version request after that. When issuing API version request, reconnection exponential backoff is reset. Since the broker expects SSL handshake, client's API version request will cause the connection to disconnect. Reconnect will happen without exponential backoff since it has been reset.
> [https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/ClusterConnectionStates.java#L249.]  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)