nileshkumar3 commented on PR #21991:
URL: https://github.com/apache/kafka/pull/21991#issuecomment-6096807906

   Thanks @lianetm . I rebased onto current trunk so this now sits after the 
recent poll-timeout bounds.
   I checked this against those cases: the new guard is after the existing 
pollTimeout calculation and does not change it. It only runs when the current 
inflight AsyncPollEvent already has error().isPresent(). onMetadataError 
completes that event exceptionally, so this skips awaitWakeup() and lets 
checkInflightPoll surface the error on the next loop iteration, or on the next 
user poll() if the current timer is exhausted. Please take a look when you get 
a chance.


-- 
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