Skip to content

Commit 53063e1

Browse files
Update documentaiton about Redis transport
1 parent 3b32336 commit 53063e1

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

messenger.rst

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,7 @@ Amqp
205205
.. code-block:: bash
206206
207207
# .env
208-
###> symfony/messenger ###
209208
MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
210-
###< symfony/messenger ###
211209
212210
This is enough to allow you to route your message to the ``amqp`` transport.
213211

@@ -223,26 +221,22 @@ This is enough to allow you to route your message to the ``amqp`` transport.
223221
Redis
224222
~~~~~
225223

226-
The redis transport will use the redis streams to queue messages.
224+
The Redis transport will use `streams`_ to queue messages.
227225

228226
.. code-block:: bash
229227
230228
# .env
231-
###> symfony/messenger ###
232229
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
233-
###< symfony/messenger ###
234230
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.
236232

237233
If you have multiple systems to receive the same messages you could use different groups
238234
to achieve this:
239235

240236
.. code-block:: bash
241237
242238
# .env
243-
###> symfony/messenger ###
244239
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages/group1/consumer1
245-
###< symfony/messenger ###
246240
247241
.. note::
248242

@@ -874,3 +868,4 @@ Learn more
874868
/messenger/*
875869

876870
.. _`enqueue's transport`: https://github.com/php-enqueue/messenger-adapter
871+
.. _`streams`: https://redis.io/topics/streams-intro

0 commit comments

Comments
 (0)