Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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)
Expand Down