Skip to content

Commit 71db3b7

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: [Messenger] Update docs for Redis transport about TLS support
2 parents 70142cf + 7be1bde commit 71db3b7

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

messenger.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,6 +1569,8 @@ The Redis transport DSN may looks like this:
15691569
MESSENGER_TRANSPORT_DSN=redis://host-01:6379,redis://host-02:6379,redis://host-03:6379,redis://host-04:6379
15701570
# Unix Socket Example
15711571
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock
1572+
# TLS Example
1573+
MESSENGER_TRANSPORT_DSN=rediss://localhost:6379/messages
15721574
15731575
A number of options can be configured via the DSN or via the ``options`` key
15741576
under the transport in ``messenger.yaml``:
@@ -1615,10 +1617,44 @@ sentinel_master String, if null or empty Sentinel null
16151617
support is disabled
16161618
======================= ===================================== =================================
16171619

1620+
<<<<<<< HEAD
16181621
.. versionadded:: 6.1
16191622

16201623
The ``persistent_id``, ``retry_interval``, ``read_timeout``, ``timeout``, and
16211624
``sentinel_master`` options were introduced in Symfony 6.1.
1625+
=======
1626+
=================== ===================================== =================================
1627+
Option Description Default
1628+
=================== ===================================== =================================
1629+
stream The Redis stream name messages
1630+
group The Redis consumer group name symfony
1631+
consumer Consumer name used in Redis consumer
1632+
auto_setup Create the Redis group automatically? true
1633+
auth The Redis password
1634+
delete_after_ack If ``true``, messages are deleted false
1635+
automatically after processing them
1636+
delete_after_reject If ``true``, messages are deleted true
1637+
automatically if they are rejected
1638+
lazy Connect only when a connection is false
1639+
really needed
1640+
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP``
1641+
in Redis (the
1642+
``Redis::OPT_SERIALIZER`` option)
1643+
stream_max_entries The maximum number of entries which ``0`` (which means "no trimming")
1644+
the stream will be trimmed to. Set
1645+
it to a large enough number to
1646+
avoid losing pending messages
1647+
redeliver_timeout Timeout before retrying a pending ``3600``
1648+
message which is owned by an
1649+
abandoned consumer (if a worker died
1650+
for some reason, this will occur,
1651+
eventually you should retry the
1652+
message) - in seconds.
1653+
claim_interval Interval on which pending/abandoned ``60000`` (1 Minute)
1654+
messages should be checked for to
1655+
claim - in milliseconds
1656+
=================== ===================================== =================================
1657+
>>>>>>> 5.4
16221658

16231659
.. caution::
16241660

0 commit comments

Comments
 (0)