Sanjana Kaundinya created KAFKA-9621:
----------------------------------------
Summary: AdminClient listOffsets operation does not respect
retries and backoff
Key: KAFKA-9621
URL: https://issues.apache.org/jira/browse/KAFKA-9621
Project: Kafka
Issue Type: Bug
Components: admin
Reporter: Sanjana Kaundinya
Assignee: Cheng Tan
Fix For: 2.6.0
Similar to https://issues.apache.org/jira/browse/KAFKA-9047, currently the
listOffsets operation doesn't respect the configured retries and backoff for a
given call.
For example, the code path could go like so:
1) Make a metadata request and schedule subsequent list offsets calls
2) Metadata error comes back with `InvalidMetadataException`
3) Go back to 1
The problem here is that the state is not preserved across calls. We loose the
information regarding how many tries the call has been tried and how far out we
should schedule the call to try again. This could lead to a tight retry loop
and put pressure on the brokers.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)