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)

Reply via email to