lianetm opened a new pull request, #22979: URL: https://github.com/apache/kafka/pull/22979
Fix to ensure that a new fetch request (new inflightPoll event) is sent right away in the case where a previous fetch event completed without records and there is still time to poll internally. Before this PR, a second iteration of the internal poll loop would not clear the previous event that was already done (and generated no data), so it would block on the buffer before sending a next fetch, introducing latency. Fix by ensuring that the inflight poll is cleared if completed before checking the need to send a new one. -- 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]
