You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (Jira)" <ji...@apache.org> on 2020/03/07 00:54:00 UTC
[jira] [Created] (KAFKA-9678) Introduce bounded exponential backoff
in clients
Guozhang Wang created KAFKA-9678:
------------------------------------
Summary: Introduce bounded exponential backoff in clients
Key: KAFKA-9678
URL: https://issues.apache.org/jira/browse/KAFKA-9678
Project: Kafka
Issue Type: Improvement
Components: admin, consumer, producer
Reporter: Guozhang Wang
In all clients (consumer, producer, admin, and streams) we have retry mechanisms with fixed backoff to handle transient connection issues with brokers. However, with small backoff (many defaults to 100ms) we could send 10s of requests per second to the broker, and if the connection issue is prolonged it means a huge overhead.
We should consider introducing upper-bounded exponential backoff universally in those clients to reduce the num of retry requests during the period of connection partitioning.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)