File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-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.
878
878
879
879
# .env
880
880
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
881
883
882
884
To use the Redis transport, you will need the Redis PHP extension (^4.3) and
883
885
a running Redis server (^5.0).
@@ -895,11 +897,14 @@ under the transport in ``messenger.yaml``:
895
897
stream The Redis stream name messages
896
898
group The Redis consumer group name symfony
897
899
consumer Consumer name used in Redis consumer
900
+ auto_setup Will auto create the Redis group. true
901
+ auth The password used for Redis
898
902
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP ``
899
903
in Redis (the
900
904
``Redis::OPT_SERIALIZER `` option)
901
905
================== =================================== =======
902
906
907
+
903
908
In Memory Transport
904
909
~~~~~~~~~~~~~~~~~~~
905
910
You can’t perform that action at this time.
0 commit comments