You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2021. It is now read-only.
In simpleconsumer I was passing a list of all partitions to reset. Sometimes (often but not always) it would lock up. Adding traces I found that the lock up was at the line that reads:
if partition.fetch_lock.acquire(True):
In the reset_offsets() function.
I changed my code to call the reset_offsets function multiple times, once for each partition. I don't know if this just slows it down enough or what exactly, but it made the deadlock disappear.
My reproduction case is in a somewhat complex environment so I'm unable to provide a simple repro case, but if you'd like me to add traces or other debugging I'd be happy to do so.