hachikuji commented on pull request #8822:
URL: https://github.com/apache/kafka/pull/8822#issuecomment-646348733


   @mumrah Hmm, I think I like the current approach of discarding the response 
if we're no longer in the same state in which the fetch state was sent. Mainly 
because it's simple. Arguably we could do something more refined. For example, 
a topic authorization error is still going to be relevant even if the partition 
is being reset. However, since we're talking about rare cases, it doesn't seem 
too worthwhile to try and optimize; worst case, we'll send the request again 
and get the same error.


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

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


Reply via email to