-
Notifications
You must be signed in to change notification settings - Fork 118
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
Can hang on shutdown without explaining what it's waiting for #183
Comments
What version are you using? |
Have you acknowledged all consumed messages before stopping? Alternatively you could have used auto_ack=true when consuming. Before stopping |
v0.17.0
That seems like a long time for a process to wait after a SIGTERM (especially without logging an explanatory message). I'd expect kafka-pixy to stop promptly, dropping the connection, and for the client's Ack to fail with a gRPC error so the client would know the Ack didn't succeed. What does "before retrying" mean in this context: # Period of time that Kafka-Pixy should wait for an acknowledgement
# before retrying.
ack_timeout: 5m |
If
It means that if a message is not acknowledged in |
Thanks for the explanation. I agree it's working as designed. My suggested changes are:
|
I agree with the first two suggestions, however we will not implement the third, because a user have an option to auto ack consumed messages. |
Pixy hangs on shutdown after being used. In our case it's a single client connected to a single topic with a single partition, which produced and consumed a few messages.
Two example logs. First was SIGINT the second was SIGTERM, in case it matters.
The text was updated successfully, but these errors were encountered: