-
Notifications
You must be signed in to change notification settings - Fork 878
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.committed([TopicPartition('test', 0)]) blocks and hangs #68
Comments
re -1001 confusion: understandable! we'll add a constant for that to lessen the confusion. |
Negative backoffs are okay (just an impl detail) when there is no backoff in place. |
Is your code any different from this:
This works as expected for me, committed() is not hanging:
|
ping @fillest |
1 similar comment
ping @fillest |
Sorry for the delays, I'm overloaded at work at the moment :( |
No problem :) |
@fillest any progress on this? |
Closed due to inactivity |
confluent-kafka==0.9.2, librdkafka 0.9.2, Python 2.7.6, kafka 0.10.1.0
I have a topic "test"
p = TopicPartition('test', 0)
, to which I've pushed some messages but haven't commited an offset yet (on purpose).c.position([p])
gives-1001
(gave me a "wtf" moment but as I've googled (took quite some time though) it is ok and means that there is nothing comitted yet). Butc.committed([p])
just hangs (and can't be interrupted by ctrl-c).I've turned on
'debug': 'all'
and this is the tail of the log:The messages look quite similar and are printed very fast. Also note the negative backoff, I guess it's not normal
The text was updated successfully, but these errors were encountered: