dajac commented on PR #17255:
URL: https://github.com/apache/kafka/pull/17255#issuecomment-2468292719

   @kumarpritam863 Thanks for the patch. I am sorry but I did not have the time 
to review it yet. Could you please elaborate a bit more on how you 
discovered/reproduced this? My understanding is that `invokePartitionRevoked` 
is called before updating the subscription for a reason. If I recall correctly, 
the reason is that we want the callback to still have access to the revoked 
partitions (e.g. to commit their offsets). If we remove them from the 
subscription state, their state will be gone.


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