Skip to content

Commit 3856194

Browse files
committed
minor #14956 [Messenger] Document DSN format for Redis Cluster (nesk)
This PR was merged into the 5.3-dev branch. Discussion ---------- [Messenger] Document DSN format for Redis Cluster Document Redis Cluster support for the Messenger component. Related to symfony/symfony#40155 Commits ------- 243d84b [Messenger] Document DSN format for Redis Cluster
2 parents 3fca9c8 + 243d84b commit 3856194

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
@@ -1329,6 +1329,8 @@ The Redis transport DSN may looks like this:
13291329
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
13301330
# Full DSN Example
13311331
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0&dbindex=0
1332+
# Redis Cluster Example
1333+
MESSENGER_TRANSPORT_DSN=redis://host-01:6379,redis://host-02:6379,redis://host-03:6379,redis://host-04:6379
13321334
# Unix Socket Example
13331335
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock
13341336

0 commit comments

Comments
 (0)