@@ -1569,6 +1569,8 @@ The Redis transport DSN may looks like this:
1569
1569
MESSENGER_TRANSPORT_DSN=redis://host-01:6379,redis://host-02:6379,redis://host-03:6379,redis://host-04:6379
1570
1570
# Unix Socket Example
1571
1571
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock
1572
+ # TLS Example
1573
+ MESSENGER_TRANSPORT_DSN=rediss://localhost:6379/messages
1572
1574
1573
1575
A number of options can be configured via the DSN or via the ``options `` key
1574
1576
under the transport in ``messenger.yaml ``:
@@ -1615,10 +1617,44 @@ sentinel_master String, if null or empty Sentinel null
1615
1617
support is disabled
1616
1618
======================= ===================================== =================================
1617
1619
1620
+ <<<<<<< HEAD
1618
1621
.. versionadded :: 6.1
1619
1622
1620
1623
The ``persistent_id ``, ``retry_interval ``, ``read_timeout ``, ``timeout ``, and
1621
1624
``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
1622
1658
1623
1659
.. caution ::
1624
1660
0 commit comments