AndrewJSchofield commented on code in PR #20838:
URL: https://github.com/apache/kafka/pull/20838#discussion_r2514233633
##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ShareConsumerImpl.java:
##########
@@ -632,7 +644,7 @@ private ShareFetch<K, V> pollForFetches(final Timer timer) {
// If data is available already, return it immediately
final ShareFetch<K, V> fetch = collect(acknowledgementsMap);
- if (!fetch.isEmpty()) {
+ if (!fetch.isEmpty() && !fetch.hasRenewals()) {
Review Comment:
Yes, correct. Thanks for catching this.
--
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]