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

   The AsyncKafkaConsumer implementation of `position(TopicPartition, 
Duration)` was not updating its internal `Timer`, causing it to execute the 
loop forever. Adding a call to update the `Timer` at the bottom of the loop 
fixes the issue.
   
   An integration test was added to catch this case; it fails without the newly 
added call to `Timer.update(long)`.
   
   ### 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