Skip to content

Commit 41949ac

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [Messenger] Update docs for Redis transport about TLS support
2 parents 8bf9673 + 71db3b7 commit 41949ac

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
@@ -1577,6 +1577,8 @@ The Redis transport DSN may looks like this:
15771577
MESSENGER_TRANSPORT_DSN=redis://host-01:6379,redis://host-02:6379,redis://host-03:6379,redis://host-04:6379
15781578
# Unix Socket Example
15791579
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock
1580+
# TLS Example
1581+
MESSENGER_TRANSPORT_DSN=rediss://localhost:6379/messages
15801582
# Multiple Redis Sentinel Hosts Example
15811583
MESSENGER_TRANSPORT_DSN=redis:?host[redis1:26379]&host[redis2:26379]&host[redis3:26379]&sentinel_master=db
15821584
@@ -1625,10 +1627,44 @@ sentinel_master String, if null or empty Sentinel null
16251627
support is disabled
16261628
======================= ===================================== =================================
16271629

1630+
<<<<<<< HEAD
16281631
.. versionadded:: 6.1
16291632

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

16331669
.. versionadded:: 6.4
16341670

0 commit comments

Comments
 (0)