Skip to content

Commit 243d84b

Browse files
authored
[Messenger] Document DSN format for Redis Cluster
1 parent 57b7b39 commit 243d84b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

messenger.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,8 @@ The Redis transport DSN may looks like this:
11901190
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
11911191
# Full DSN Example
11921192
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0&dbindex=0
1193+
# Redis Cluster Example
1194+
MESSENGER_TRANSPORT_DSN=redis://host-01:6379,redis://host-02:6379,redis://host-03:6379,redis://host-04:6379
11931195
# Unix Socket Example
11941196
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock
11951197

0 commit comments

Comments
 (0)