Skip to content

[Messenger] Update docs for Redis transport about TLS support #19195

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
merged 1 commit into from
Nov 29, 2023
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
11 changes: 10 additions & 1 deletion messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,8 @@ The Redis transport DSN may looks like this:
MESSENGER_TRANSPORT_DSN=redis://host-01:6379,redis://host-02:6379,redis://host-03:6379,redis://host-04:6379
# Unix Socket Example
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock
# TLS Example
MESSENGER_TRANSPORT_DSN=rediss://localhost:6379/messages

.. versionadded:: 5.1

Expand Down Expand Up @@ -1617,7 +1619,6 @@ stream_max_entries The maximum number of entries which ``0`` (which means "
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
Expand Down Expand Up @@ -1656,6 +1657,14 @@ claim_interval Interval on which pending/abandoned ``60000`` (1 Minute)

The ``delete_after_reject`` and ``lazy`` options were introduced in Symfony 5.2.

.. versionadded:: 5.3

The ``rediss://`` DSN scheme support for TLS protocol was introduced in Symfony 5.3.

.. deprecated:: 5.3

The ``tls`` option was deprecated in Symfony 5.3, use ``rediss://`` DSN scheme for TLS support instead.

.. deprecated:: 5.4

Not setting a explicit value for the ``delete_after_ack`` option is
Expand Down