File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 205
205
.. code-block :: bash
206
206
207
207
# .env
208
- # ##> symfony/messenger ###
209
208
MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
210
- # ##< symfony/messenger ###
211
209
212
210
This is enough to allow you to route your message to the ``amqp `` transport.
213
211
@@ -223,26 +221,22 @@ This is enough to allow you to route your message to the ``amqp`` transport.
223
221
Redis
224
222
~~~~~
225
223
226
- The redis transport will use the redis streams to queue messages.
224
+ The Redis transport will use ` streams `_ to queue messages.
227
225
228
226
.. code-block :: bash
229
227
230
228
# .env
231
- # ##> symfony/messenger ###
232
229
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
233
- # ##< symfony/messenger ###
234
230
235
- This is enough to allow you to route your message to the `` redis `` transport.
231
+ This is enough to allow you to route your message to the Redis transport.
236
232
237
233
If you have multiple systems to receive the same messages you could use different groups
238
234
to achieve this:
239
235
240
236
.. code-block :: bash
241
237
242
238
# .env
243
- # ##> symfony/messenger ###
244
239
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages/group1/consumer1
245
- # ##< symfony/messenger ###
246
240
247
241
.. note ::
248
242
@@ -874,3 +868,4 @@ Learn more
874
868
/messenger/*
875
869
876
870
.. _`enqueue's transport` : https://github.com/php-enqueue/messenger-adapter
871
+ .. _`streams` : https://redis.io/topics/streams-intro
You can’t perform that action at this time.
0 commit comments