ShivsundarR opened a new pull request, #16903:
URL: https://github.com/apache/kafka/pull/16903

   *What*
   Currently we were not updating the result count when we merged commitAsync() 
requests into one batch in ShareConsumeRequestManager, so this led to lesser 
acknowledgements sent to the application thread (ShareConsumerImpl) than 
expected.
   Fix : Now if the acknowledge response came from a commitAsync, then we do 
not wait for other requests to complete, we always prepare a background event 
to be sent.
   
   This PR also fixes a bug in ShareConsumeRequestManager, where during the 
final ShareAcknowledge sent during close(), we also pick up any piggybacked 
acknowledgements which were waiting to be sent along with ShareFetch.


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