-
Notifications
You must be signed in to change notification settings - Fork 12
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
None MessageResult, producer panic #162
Comments
Hi @51yu thanks for raising this. So the basic step to reproduce it is to setup a producer and after few minutes it should panic right? |
stacktrace
|
yes |
Hi @51yu I think the main issue is the heartbeat handling which is still missing, Thanks |
Meanwhile, could we mitigate the issue by letting producer periodically publish dummy message to stream and let consumer ignore that ? - convince broker, producer is still alive |
The best workaround it would be to disable the heartbeat, but from client side it's is not exposed yet. I would wait for this fix, I think it could be available tomorrow :) |
I've opened the PR Waiting for the review and then it should fix this issue Thanks |
producer panic if message result is None ..
https://github.com/rabbitmq/rabbitmq-stream-rust-client/blob/main/src/producer.rs#L556
it happen few minutes after app run, and app exit with panic
how to handle it gracefully without app panic ?
The text was updated successfully, but these errors were encountered: