Skip to content

Commit 49e19c5

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Minor tweaks [Messenger] Redis Sentinel support
2 parents a8b99b4 + 09f0759 commit 49e19c5

File tree

1 file changed

+41
-33
lines changed

1 file changed

+41
-33
lines changed

messenger.rst

Lines changed: 41 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,39 +1367,47 @@ The Redis transport DSN may looks like this:
13671367
A number of options can be configured via the DSN or via the ``options`` key
13681368
under the transport in ``messenger.yaml``:
13691369

1370-
1371-
=================== ===================================== =================================
1372-
Option Description Default
1373-
=================== ===================================== =================================
1374-
stream The Redis stream name messages
1375-
group The Redis consumer group name symfony
1376-
consumer Consumer name used in Redis consumer
1377-
auto_setup Create the Redis group automatically? true
1378-
auth The Redis password
1379-
delete_after_ack If ``true``, messages are deleted true
1380-
automatically after processing them
1381-
delete_after_reject If ``true``, messages are deleted true
1382-
automatically if they are rejected
1383-
lazy Connect only when a connection is false
1384-
really needed
1385-
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP``
1386-
in Redis (the
1387-
``Redis::OPT_SERIALIZER`` option)
1388-
stream_max_entries The maximum number of entries which ``0`` (which means "no trimming")
1389-
the stream will be trimmed to. Set
1390-
it to a large enough number to
1391-
avoid losing pending messages
1392-
tls Enable TLS support for the connection false
1393-
redeliver_timeout Timeout before retrying a pending ``3600``
1394-
message which is owned by an
1395-
abandoned consumer (if a worker died
1396-
for some reason, this will occur,
1397-
eventually you should retry the
1398-
message) - in seconds.
1399-
claim_interval Interval on which pending/abandoned ``60000`` (1 Minute)
1400-
messages should be checked for to
1401-
claim - in milliseconds
1402-
=================== ===================================== =================================
1370+
======================= ===================================== =================================
1371+
Option Description Default
1372+
======================= ===================================== =================================
1373+
stream The Redis stream name messages
1374+
group The Redis consumer group name symfony
1375+
consumer Consumer name used in Redis consumer
1376+
auto_setup Create the Redis group automatically? true
1377+
auth The Redis password
1378+
delete_after_ack If ``true``, messages are deleted true
1379+
automatically after processing them
1380+
delete_after_reject If ``true``, messages are deleted true
1381+
automatically if they are rejected
1382+
lazy Connect only when a connection is false
1383+
really needed
1384+
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP``
1385+
in Redis (the
1386+
``Redis::OPT_SERIALIZER`` option)
1387+
stream_max_entries The maximum number of entries which ``0`` (which means "no trimming")
1388+
the stream will be trimmed to. Set
1389+
it to a large enough number to
1390+
avoid losing pending messages
1391+
tls Enable TLS support for the connection false
1392+
redeliver_timeout Timeout before retrying a pending ``3600``
1393+
message which is owned by an
1394+
abandoned consumer (if a worker died
1395+
for some reason, this will occur,
1396+
eventually you should retry the
1397+
message) - in seconds.
1398+
claim_interval Interval on which pending/abandoned ``60000`` (1 Minute)
1399+
messages should be checked for to
1400+
claim - in milliseconds
1401+
sentinel_persistent_id String, if null connection is null
1402+
non-persistent.
1403+
sentinel_retry_interval Int, value in milliseconds ``0``
1404+
sentinel_read_timeout Float, value in seconds ``0``
1405+
default indicates unlimited
1406+
sentinel_timeout Float, value in seconds ``0``
1407+
default indicates unlimited
1408+
sentinel_master String, if null or empty Sentinel null
1409+
support is disabled
1410+
======================= ===================================== =================================
14031411

14041412
.. caution::
14051413

0 commit comments

Comments
 (0)