Skip to content
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 got stuck during offset commit #2099

Open
OrAbramovich opened this issue Aug 5, 2020 · 0 comments
Open

Consumer got stuck during offset commit #2099

OrAbramovich opened this issue Aug 5, 2020 · 0 comments

Comments

@OrAbramovich
Copy link

I am using version 2.0.1 of kafka-python and encountered the following issue: during a manual offset commit there was a networking issue that caused the consumer to hang. Here are the last prints:

[2020-08-05 13:14:44,632] DEBUG 21343 _handle_group_coordinator_response Received group coordinator response GroupCoordinatorResponse_v0(error_code=0, coordinator_id=314123, host='kafka-host', port=1234)
[2020-08-05 13:14:44,632] DEBUG 21343 add_group_coordinator Updating coordinator for my-test-group: GroupCoordinatorResponse_v0(error_code=0, coordinator_id=314123, host='kafka-host', port=1234)
[2020-08-05 13:14:44,633] INFO 21343 add_group_coordinator Group coordinator for my-test-group is BrokerMetadata(nodeId='coordinator-314123', host='kafka-host', port=1234, rack=None)
[2020-08-05 13:14:44,633] INFO 21343 _handle_group_coordinator_response Discovered coordinator coordinator-314123 for group my-test-group
[2020-08-05 13:15:12,473] WARNING 21343 _poll <BrokerConnection node_id=coordinator-314123 host=kafka-host:1234 [IPv4 ('10.0.0.10', 1234)]> timed out after 305000 ms. Closing connection.
[2020-08-05 13:15:12,473] INFO 21343 close <BrokerConnection node_id=coordinator-314123 host=kafka-host:1234 [IPv4 ('10.0.0.10', 1234)]>: Closing connection. [Error 7] RequestTimedOutError: Request timed out after 305000 ms
[2020-08-05 13:15:12,474] DEBUG 21343 _update_reconnect_backoff <BrokerConnection node_id=coordinator-314123 host=kafka-host:1234 [IPv4 ('10.0.0.10', 1234)]>: reconnect backoff 0.05205567834004354 after 1 failures
[2020-08-05 13:15:12,474] WARNING 21343 _conn_state_change Node coordinator-314123 connection failed -- refreshing metadata
[2020-08-05 13:15:12,474] ERROR 21343 _failed_request Error sending OffsetCommitRequest_v2 to node coordinator-314123 [[Error 7] RequestTimedOutError: Request timed out after 305000 ms]
[2020-08-05 13:15:12,474] WARNING 21343 coordinator_dead Marking the coordinator dead (node coordinator-314123) for group my-test-group: [Error 7] RequestTimedOutError: Request timed out after 305000 ms.
[2020-08-05 13:15:12,475] ERROR 21343 _failed_request Error sending HeartbeatRequest_v0 to node coordinator-314123 [[Error 7] RequestTimedOutError: Request timed out after 305000 ms]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant