-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
A consumer shuts down not cleanly #2010
Comments
Use |
Yes, the request was sent but another consumer
But unfortunately rebalance occurs after 30 seconds by SyncGroupResponse
See on time Note: If I'm connecting to the consumer group id by python client (aiokafka) - there are no problems on join or leave the group. Rebalnce callback occurs in time it's happens |
Full logs also attached: |
Thank you! It seems like the LeaveGroupRequest is enqueued for transmission but the consumer is shut down before the request is actually sent to the broker. |
Related to #2040 |
Description
It's seems that
consumer->close()
do not correctly shuts down consumer. Rebalance of consumer group occurs only after session timeout.How to reproduce
rdkafka_consumer_example_cpp
as follow:rdkafka_consumer_example_cpp
with same group:Logs of the second:
while it's seems ok
7. Stop one of the consumer (
Ctrl-C
). Logs:session.timeout.ms
) in another consumer appears rebalance callbacks logs:Note: same behavior in c-client
Checklist
0.11.5
0.10.0.1
as in examples
Ubuntu 16.04 (x64)
debug=..
as necessary) from librdkafkaThe text was updated successfully, but these errors were encountered: