-
Notifications
You must be signed in to change notification settings - Fork 915
consumer hangs on consumer.close() #1667
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
Comments
Experimenting with the closing the consumer, what I see missing in the debug logs for a hung consumer.close() pasted below. When the problem happens the Internal main thread termination does not complete.
|
Was there any progress resolving this issue? My temp solution is to call |
Quick answer, no. |
Description
Issue with termination of kafka consumer. When consumer has being cunsuming messages for over a number of hours, it will fail to fully terminate and hang.
consumer.close() is issued, and the process starts, but fails to fully complete, and hangs forever. Even signal.alarm does not terminate the script.
Python script running in Alpine container.
librdkafka version 2.2.0
python:3.9-alpine
The text was updated successfully, but these errors were encountered: