From 3b6ade97b409401ade5c95f87e1a581f2b5eb89b Mon Sep 17 00:00:00 2001 From: Norbert Schultheisz Date: Wed, 6 Apr 2022 07:28:02 +0000 Subject: [PATCH] Revert "[Messenger] Redis Sentinel support" This reverts commit c4fe71f03557c8c847557f569337bfc3dd6db729. --- messenger.rst | 78 +++++++++++++++++++++------------------------------ 1 file changed, 32 insertions(+), 46 deletions(-) diff --git a/messenger.rst b/messenger.rst index afb3426e7d4..f5d2277a93d 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1454,47 +1454,38 @@ A number of options can be configured via the DSN or via the ``options`` key under the transport in ``messenger.yaml``: -======================= ===================================== ================================= -Option Description Default -======================= ===================================== ================================= -stream The Redis stream name messages -group The Redis consumer group name symfony -consumer Consumer name used in Redis consumer -auto_setup Create the Redis group automatically? true -auth The Redis password -delete_after_ack If ``true``, messages are deleted false - automatically after processing them -delete_after_reject If ``true``, messages are deleted true - automatically if they are rejected -lazy Connect only when a connection is false - really needed -serializer How to serialize the final payload ``Redis::SERIALIZER_PHP`` - in Redis (the - ``Redis::OPT_SERIALIZER`` option) -stream_max_entries The maximum number of entries which ``0`` (which means "no trimming") - the stream will be trimmed to. Set - it to a large enough number to - avoid losing pending messages -tls Enable TLS support for the connection false -redeliver_timeout Timeout before retrying a pending ``3600`` - message which is owned by an - abandoned consumer (if a worker died - for some reason, this will occur, - eventually you should retry the - message) - in seconds. -claim_interval Interval on which pending/abandoned ``60000`` (1 Minute) - messages should be checked for to - claim - in milliseconds -sentinel_persistent_id String, if null connection is null - non-persistent. -sentinel_retry_interval Int, value in milliseconds ``0`` -sentinel_read_timeout Float, value in seconds ``0`` - default indicates unlimited -sentinel_timeout Float, value in seconds ``0`` - default indicates unlimited -sentinel_master String, if null or empty Sentinel null - support is disabled -======================= ===================================== ================================= +=================== ===================================== ================================= +Option Description Default +=================== ===================================== ================================= +stream The Redis stream name messages +group The Redis consumer group name symfony +consumer Consumer name used in Redis consumer +auto_setup Create the Redis group automatically? true +auth The Redis password +delete_after_ack If ``true``, messages are deleted false + automatically after processing them +delete_after_reject If ``true``, messages are deleted true + automatically if they are rejected +lazy Connect only when a connection is false + really needed +serializer How to serialize the final payload ``Redis::SERIALIZER_PHP`` + in Redis (the + ``Redis::OPT_SERIALIZER`` option) +stream_max_entries The maximum number of entries which ``0`` (which means "no trimming") + the stream will be trimmed to. Set + it to a large enough number to + avoid losing pending messages +tls Enable TLS support for the connection false +redeliver_timeout Timeout before retrying a pending ``3600`` + message which is owned by an + abandoned consumer (if a worker died + for some reason, this will occur, + eventually you should retry the + message) - in seconds. +claim_interval Interval on which pending/abandoned ``60000`` (1 Minute) + messages should be checked for to + claim - in milliseconds +=================== ===================================== ================================= .. caution:: @@ -1523,11 +1514,6 @@ sentinel_master String, if null or empty Sentinel null The ``delete_after_reject`` and ``lazy`` options were introduced in Symfony 5.2. -.. versionadded:: 5.4 - - The ``sentinel_persistent_id``, ``sentinel_retry_interval``, ``sentinel_read_timeout``, - ``sentinel_timeout``, and ``sentinel_master`` options were introduced in Symfony 5.4. - .. deprecated:: 5.4 Not setting a explicit value for the ``delete_after_ack`` option is