Skip to content

Added 'master_name' to 'BROKER_TRANSPORT_OPTIONS_MAP'#97

Open
System25 wants to merge 1 commit into
sontek:masterfrom
System25:master
Open

Added 'master_name' to 'BROKER_TRANSPORT_OPTIONS_MAP'#97
System25 wants to merge 1 commit into
sontek:masterfrom
System25:master

Conversation

@System25

Copy link
Copy Markdown

This option is necessary to use REDIS replication based on sentinels:

[celery]
BROKER_URL = sentinel://:mypassword@sentinel1:26379/1;sentinel://:mypassword@sentinel2:26379/1

[celery:broker_transport_options]
master_name = mymaster

More info in https://github.com/celery/kombu/blob/master/kombu/transport/redis.py (see SentinelChannel).

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant