Reputation: 153
I am a novice to Celery, Redis, and RabbitMQ.
Currently, I'm using RabbitMQ as a message broker, and nothings are set in configuration. (with Django, MySQL)
I am wondering if it's possible to use Redis as a result store in backend, at the same time, RabbitMQ as a message broker.
The thing I know is only adding some settings, CELERY_RESULT_BACKEND = "redis"
Upvotes: 4
Views: 1476
Reputation: 6206
Yes, it's possible. Just set:
CELERY_RESULT_BACKEND = "redis://:<password>@<hostname>:<port>/<db_number>"
replacing <password>
, <hostname>
, <port>
and <db_number>
.
Upvotes: 1