Skip to content

Commit 3a7f83b

Browse files
committed
[Messenger] Update docs for Redis transport about TLS support
1 parent b697469 commit 3a7f83b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

messenger.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,8 @@ The Redis transport DSN may looks like this:
15871587
MESSENGER_TRANSPORT_DSN=redis://host-01:6379,redis://host-02:6379,redis://host-03:6379,redis://host-04:6379
15881588
# Unix Socket Example
15891589
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock
1590+
# TLS Example
1591+
MESSENGER_TRANSPORT_DSN=rediss://localhost:6379/messages
15901592
15911593
.. versionadded:: 5.1
15921594

@@ -1617,7 +1619,6 @@ stream_max_entries The maximum number of entries which ``0`` (which means "
16171619
the stream will be trimmed to. Set
16181620
it to a large enough number to
16191621
avoid losing pending messages
1620-
tls Enable TLS support for the connection false
16211622
redeliver_timeout Timeout before retrying a pending ``3600``
16221623
message which is owned by an
16231624
abandoned consumer (if a worker died
@@ -1656,6 +1657,14 @@ claim_interval Interval on which pending/abandoned ``60000`` (1 Minute)
16561657

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

1660+
.. versionadded:: 5.3
1661+
1662+
The ``rediss://`` DSN scheme support for TLS protocol was introduced in Symfony 5.3.
1663+
1664+
.. deprecated:: 5.3
1665+
1666+
The ``tls`` option was deprecated in Symfony 5.3, use ``rediss://`` DSN scheme for TLS support instead.
1667+
16591668
.. deprecated:: 5.4
16601669

16611670
Not setting a explicit value for the ``delete_after_ack`` option is

0 commit comments

Comments
 (0)