4
votes

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"

1

1 Answers

1
votes

Yes, it's possible. Just set:

CELERY_RESULT_BACKEND = "redis://:<password>@<hostname>:<port>/<db_number>"

replacing <password>, <hostname>, <port> and <db_number>.