File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -878,6 +878,8 @@ The Redis transport uses `streams`_ to queue messages.
878878
879879 # .env
880880 MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
881+ # Full DSN Example
882+ MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer? auto_setup=true& serializer=1
881883
882884 To use the Redis transport, you will need the Redis PHP extension (^4.3) and
883885a running Redis server (^5.0).
@@ -895,6 +897,8 @@ under the transport in ``messenger.yaml``:
895897stream The Redis stream name messages
896898group The Redis consumer group name symfony
897899consumer Consumer name used in Redis consumer
900+ auto_setup Will auto create the Redis group. true
901+ auth The password used for Redis
898902serializer How to serialize the final payload ``Redis::SERIALIZER_PHP ``
899903 in Redis (the
900904 ``Redis::OPT_SERIALIZER `` option)
You can’t perform that action at this time.
0 commit comments