AndrewJSchofield opened a new pull request, #21033: URL: https://github.com/apache/kafka/pull/21033
ShareFetch requests can be used to fetch records for share consumers, but in some cases, no records are required and the request is just being used to update the share session or send acknowledgements. As a result, there are situations in which a ShareFetch request would be built, only for it to be entirely empty (no fetch, no asks, no share session update). This PR simplifies the logic for detecting when the request is empty and then to avoid building it entirely. It also adds some tests for this case. -- 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]
