Celery's custom result backend for [RedisCluster].
-
pip install -e git+git://github.com/hbasria/celery-redis-cluster-backend.git#egg=celery-redis-cluster-backend
-
Add the following to
celeryconfig.py
.
CELERY_RESULT_BACKEND = "celery_redis_cluster_backend.redis_cluster.RedisClusterBackend"
CELERY_REDIS_CLUSTER_SETTINGS = { 'startup_nodes': [
{"host": "localhost", "port": "6379"},
{"host": "localhost", "port": "6380"},
{"host": "localhost", "port": "6381"}
]}