Skip to content

[Messenger] Revert " Redis Sentinel support" #16691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 32 additions & 46 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down Expand Up @@ -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
Expand Down