Skip to content

Commit eb1e4fc

Browse files
committed
[Messenger] Update docs for Redis transport about TLS support
1 parent d57d770 commit eb1e4fc

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
@@ -1362,6 +1362,8 @@ The Redis transport DSN may looks like this:
13621362
MESSENGER_TRANSPORT_DSN=redis://host-01:6379,redis://host-02:6379,redis://host-03:6379,redis://host-04:6379
13631363
# Unix Socket Example
13641364
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock
1365+
# TLS Example
1366+
MESSENGER_TRANSPORT_DSN=rediss://localhost:6379/messages
13651367
13661368
.. versionadded:: 5.1
13671369

@@ -1392,7 +1394,6 @@ stream_max_entries The maximum number of entries which ``0`` (which means "
13921394
the stream will be trimmed to. Set
13931395
it to a large enough number to
13941396
avoid losing pending messages
1395-
tls Enable TLS support for the connection false
13961397
redeliver_timeout Timeout before retrying a pending ``3600``
13971398
message which is owned by an
13981399
abandoned consumer (if a worker died
@@ -1431,6 +1432,14 @@ claim_interval Interval on which pending/abandoned ``60000`` (1 Minute)
14311432

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

1435+
.. versionadded:: 5.3
1436+
1437+
The ``rediss://`` DSN scheme support for TLS protocol was introduced in Symfony 5.3.
1438+
1439+
.. deprecated:: 5.3
1440+
1441+
The ``tls`` option was deprecated in Symfony 5.3, use ``rediss://`` DSN scheme for TLS support instead.
1442+
14341443
In Memory Transport
14351444
~~~~~~~~~~~~~~~~~~~
14361445

0 commit comments

Comments
 (0)