mumrah commented on PR #17796:
URL: https://github.com/apache/kafka/pull/17796#issuecomment-2474632453

   @apoorvmittal10 what is the purpose of this listener? Is is so that SPM can 
clean up its in-memory state when it is no longer the leader for a partition?
   
   If that's the main use case, I think we should consider tying into the 
metadata system directly rather than coupling ourselves to Partition. 
   
   @dajac, since its looks like you added it, maybe you can comment on the 
intended usage of PartitionListener? 


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