-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consumer.Close() never finishes and always panics #140
Comments
I did a little bit more digging and it seems like my workerManagers aren't closing due to the lock from start batch. My callback for I only have the 10 default workers and 14 partitions running (14 worker managers). It seems like what's happening is that the worker stops, but some partitions are running |
Another alternative is to have |
I presume you want to close the consumer from the messagehandler. I also got these problems, and my Not really nice, but for the most part it got rid of the fatals for me. I agree this should be handled more graceful. |
I'm calling |
it's a dead lock when startBatch and Close all try to hold the stopLock in worker manager I don't see why the wm.stopLock is necessary here. |
I'm trying to
Close()
the consumer under circumstances, but whenever I call the Close() function, the worker manager never seems to finish.Are there pre-requisites that need to be fulfilled before calling the function? I've tried upping the timeout to 5 minutes, but it still does nothing.
The text was updated successfully, but these errors were encountered: