-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Consuming stream stucks on 0.13 #133
Comments
Do you have a code example to reproduce your issue? I cannot reproduce it locally |
@Keruspe I will try to create example repo which reproduces the error. |
Thanks, I’ll try reproducing with that tomorrow. |
I have the same kind of symptoms but I'm almost sure that my code is to blame. If there are messages in the queue, it sometimes hang when processing the first message (the server shows it as 'Unacked' but the Got message. Raw: {:?} log is never printed) I basically do three operations:
I'm new to rust and RabbitMQ, so those
|
@tyranron Have you found what was the cause of the issue? I've created a minimal project illustrating the issue I have (which seems related to yours): https://github.com/fstephany/lapin-issue-133 @Keruspe Did you manage to reproduce on your machine? If you have time, can you have a look at the consumer code and check for any obvious mistake? If you're a freelancer, a paid remote debug session is also a possibility ;) |
@fstephany nope, sorry... I haven't worked on it recently. |
Fwiw, I’m working on a rework/refactor that should land by the end of the month which should improve that |
Thanks! |
Could you try with 0.19.0? |
I'll try to test it this week and let you know. |
0.19.0.alpha still have the issue. the stream stucks after read the first new message after the queue get empty. |
Care to try with 0.19.0 beta1? |
This definitely should be OK now. Please reopen a new issue with a code sample if you ever manage to reproduce it again |
Consuming stream (returned by
channel.basic_consume()
) consumes newly appeared deliveries from RabbitMQ (in RabbitMQ Admin their are marked asUnacked
) but does not propagate them into.for_each()
closure.How to reproduce:
.for_each()
just OK.Unacked
(so consumer has read it), but.for_each()
closure is not invoked.Heartbeat in background works OK.
Downgrading back to 0.12 solves the problem and
.for_each()
closure is invoked every time the consumer consumes delivery.The text was updated successfully, but these errors were encountered: