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

   [Jira](https://issues.apache.org/jira/browse/KAFKA-12879)
   
   This restores previous behavior for `Admin::listOffsets`, which was to fail 
immediately if topic metadata could not be found, and only retry if metadata 
for one or more specific partitions could not be found.
   
   There is a subtle difference here: prior to 
https://github.com/apache/kafka/pull/13432, the operation would be retried if 
any metadata error was reported for any individual topic partition, even if an 
error was also reported for the entire topic. With this change, the operation 
always fails if an error is reported for the entire topic, even if an error is 
also reported for one or more individual topic partitions.
   
   I am not aware of any cases where brokers might return both topic- and topic 
partition-level errors for a metadata request, and if there are none, then this 
change should be safe. However, if there are such cases, we may need to refine 
this PR to remove the discrepancy in behavior.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to