-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
On_message not working with rabbitmq backend #3625
Comments
@xbeastx Created issue for followup. |
For some reason RabbitMQ not an 'AsyncBackendMixin' child https://github.com/celery/celery/blob/master/celery/backends/amqp.py#L40 Probably reason in that AMQP result backend deprecated now:
@ask Why AMQP backend not supported anymore? And why not inherited by AsyncBackendMixin? |
@ssudake21 probably better move to Redis backend, with redis everythink must work. |
@xbeastx The amqp result backend is a horrible compromise at trying to implement a result backend It tries to mimic how the persistent result backends work (those using a database), by using This does not scale well, and can lead to RabbitMQ struggling quickly when you have thousands of tasks executing at the same time, especially with the default result expiry of one day. The RPC result backend is a much better implementation, but since it uses one queue per client, the result can only be consumed by the process that initiated the task. So the AMQP result backend is deprecated simply because it does not perform well.
|
yea whats up with this error after migrating to celery 4? |
can anyone verify the issue on current master? |
Yep. And I think we can fix this problem. Because possibility of using on_message callback depends not on asyncing backends but on possibility using native joins. Give me some time I will make pull request for this. |
sure plz |
@xbeastx Do you have the time to resolve this issue? |
didn't we remove rabbitmq backend? |
We did. I'm closing this issue. |
Checklist
celery -A proj report
in the issue.(if you are not able to do this, then at least specify the Celery
version affected).
master
branch of Celery.Celery report output.
Steps to reproduce
http://stackoverflow.com/questions/40784593/celery-raise-improperlyconfigured-exception
Expected behavior
Expected to work
Actual behavior
The text was updated successfully, but these errors were encountered: