Hello anonymous user ,
Thanks for the ask and using Microsoft Q&A platform .
It may be due to rebalancing. How many clients are you trying to run at the same time ? If you are running with multiple clients then you should let the clients to reach a balanced state after which you should not see PartitionClosingHandler calls.
And one more thing. I suggest better run the code with a brand new consumer group. Using default consumer group while it is already in use by other clients becomes an easy pitfall .
Please do let me know how it goes .
Thanks
Himanshu
-------------------------------------------------------------------------------------------------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators