You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "AndrewJSchofield (via GitHub)" <gi...@apache.org> on 2025/12/01 19:52:54 UTC
[PR] KAFKA-19946: Simplify skipping of empty ShareFetch requests [kafka]
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-19946: Simplify skipping of empty ShareFetch requests [kafka]
Posted by "AndrewJSchofield (via GitHub)" <gi...@apache.org>.
AndrewJSchofield merged PR #21033:
URL: https://github.com/apache/kafka/pull/21033
--
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-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-19946: Simplify skipping of empty ShareFetch requests [kafka]
Posted by "AndrewJSchofield (via GitHub)" <gi...@apache.org>.
AndrewJSchofield commented on PR #21033:
URL: https://github.com/apache/kafka/pull/21033#issuecomment-3606062531
Cherry-picked to 4.2.
--
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-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org