Open deng-zy opened 8 years ago
@blatinier hmm, CELERY_REDIS_PASSWORD
seems to be deprecated and removed in celery version 4.0.
@miki725
I think there is no need to make extra effort to support celey pasword configuration, cuz we are able to pass password directly to the BROKER_URL
.
One way that works for me on the basis of @gordon-zhiyong 's effort is as follows:
BROKER_URL = 'redis-sentinel://:{password}@redis-sentinel:26379/12'.format(password=your_redis_sentinel_password)
@junhe1026 Hi, I use URL Schema with password for BROKER_URL, but it could not work.
There are no password params pass to Sentinel.
Interested here :) Forking gordon-zhiyong version in our local depot for now.
For information, to use it you must set the
CELERY_REDIS_PASSWORD
param.