-
Notifications
You must be signed in to change notification settings - Fork 220
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
aiokafka consumer don't reset offset when offset is out of range in specific case. #261
Comments
Hi there, sorry for the long wait. Now this is quite critical. I have a hunch this was fixed in https://github.com/aio-libs/aiokafka/pull/231/files. Will try to reproduce on |
Hi @tvoinarovskyi , We also have this issue, and In
In our consumer via aiokafka
From kafka log
|
Will try to reproduce it and see what can be done on this weekend than, great thanks for the feedback. |
@czchen Say, what version of Kafka broker do you use? I have trouble reproducing this on 0.10.1... |
Tried with master and Kafka 1.0.0. Still no luck. Partitions reset properly:
Used script provided by @tfilipczak. Producer sent 1 msg per second. |
@tvoinarovskyi The Kafka version we used is 1.0.0. Any log we shall turn on for debugging this issue? We can help to collect log. |
Any update for this issue? |
Hey there, there is quite a bit of progress, but to solve this I had to rewrite a lot. It's mostly finished but needs debugging and some tests still fail. I think I will post some PR any time soon, can't promise it will be this week thou. To be specific the big problem here is that some state management that workes in |
@tvoinarovskyi I got the following error when reprocedure this issue. Could you help to take a look at it?
|
Hey there, you probably tried a bit older commit on the PR, sorry. I fixed that mistype after covering it properly. It should be good to go now. Try e9ea0b8. |
Should be fixed by #286 |
Version information:
Kafka cluster: 0.10.2.1
aiokafka: 0.3.1
Python: 3.6.1
Consumer script:
Bug reproduce flow:
In this case consumer don't consume messages in this group_id.
In logs:
In debug level appears periodically:
After I run kafka-console-consumer.sh for group.id=aiokafka-test offset was reset and aiokafka consumer again consume messages.
The text was updated successfully, but these errors were encountered: