Thanks to visit codestin.com
Credit goes to github.com

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
6 changes: 6 additions & 0 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1565,6 +1565,8 @@ The Redis transport DSN may looks like this:
MESSENGER_TRANSPORT_DSN=redis://host-01:6379,redis://host-02:6379,redis://host-03:6379,redis://host-04:6379
# Unix Socket Example
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock
# Multiple Redis Sentinel Hosts Example
MESSENGER_TRANSPORT_DSN=redis:?host[redis1:26379]&host[redis2:26379]&host[redis3:26379]&sentinel_master=db

A number of options can be configured via the DSN or via the ``options`` key
under the transport in ``messenger.yaml``:
Expand Down Expand Up @@ -1616,6 +1618,10 @@ sentinel_master String, if null or empty Sentinel null
The ``persistent_id``, ``retry_interval``, ``read_timeout``, ``timeout``, and
``sentinel_master`` options were introduced in Symfony 6.1.

.. versionadded:: 6.4

Support for the multiple redis sentinel hosts DNS was introduced in Symfony 6.4.

.. caution::

There should never be more than one ``messenger:consume`` command running with the same
Expand Down