From 949b6bb2c4d0383380903134a2fcbe6325bcf347 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Wed, 3 Jul 2019 16:31:52 +0200 Subject: [PATCH] Add full dsn example for redis transport --- messenger.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/messenger.rst b/messenger.rst index db280b9cc4d..ba1fe5ae99b 100644 --- a/messenger.rst +++ b/messenger.rst @@ -878,6 +878,8 @@ The Redis transport uses `streams`_ to queue messages. # .env MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages + # Full DSN Example + MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1 To use the Redis transport, you will need the Redis PHP extension (^4.3) and a running Redis server (^5.0). @@ -895,6 +897,8 @@ under the transport in ``messenger.yaml``: stream The Redis stream name messages group The Redis consumer group name symfony consumer Consumer name used in Redis consumer +auto_setup Will auto create the Redis group. true +auth The password used for Redis serializer How to serialize the final payload ``Redis::SERIALIZER_PHP`` in Redis (the ``Redis::OPT_SERIALIZER`` option) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy