Celery: Use PostgreSQL instead of RabbitMQ

Viewed 9315
2 Answers

Is it possible to use a different message broker with celery?

before Version 4, it's sure yes! i have ever use mongodb for message broker in Celery 3, following the official document。

so if want to use PostgreSQL as the broker,it's ok,Celery also support SQLAlchemy.

However, if you want to use it in Celery 4.0, maybe it's a little difficult,one way in my mind is change the code for Kombu,yes,it's Kombu,not Celery!

Related