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

   To align the new consumer completely with the legacy consumer,
   we need to update the latest seen leader epoch in the metadata
   both when we commit offsets with a leader epoch using
   `commitAsync` and when we fetch the latest committed offsets
   using `committed`.
   
   We add unit tests to `AsyncKafkaConsumer` to test that
   metadata is correctly updated. We also add a corresponding test
   for `commitSync`, which already had the leader epoch logic.
   
   ### 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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to