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

   *What*
   Currently there are 4 handler functions present for handling 
ShareAcknowledge responses. ShareConsumeRequestManager had an interface and the 
respective handlers would implement it. Instead of having 4 different handlers 
for this, now using AcknowledgeRequestType, we could merge the code and have 
only 2 handler functions, one for ShareAcknowledge success and one for 
ShareAcknowledge failure, eliminating the need for the interface.
   
   This PR also fixes a bug - We were not using the time at which the response 
was received while handling the ShareAcknowledge response, we were using an 
outdated time. Now the bug is fixed.


-- 
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-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to