Skip to content

Commit 602d31e

Browse files
committed
minor #15552 [Messenger] Document the changes in the delete_after_ack Redis option (javiereguiluz)
This PR was merged into the 5.4 branch. Discussion ---------- [Messenger] Document the changes in the delete_after_ack Redis option Fixes #15537. Commits ------- 75ba6c8 [Messenger] Document the changes in the delete_after_ack Redis option
2 parents 5e9a391 + 75ba6c8 commit 602d31e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

messenger.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ The Redis transport DSN may looks like this:
13541354
# .env
13551355
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
13561356
# Full DSN Example
1357-
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0&dbindex=0
1357+
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0&dbindex=0&delete_after_ack=true
13581358
# Redis Cluster Example
13591359
MESSENGER_TRANSPORT_DSN=redis://host-01:6379,redis://host-02:6379,redis://host-03:6379,redis://host-04:6379
13601360
# Unix Socket Example
@@ -1427,6 +1427,12 @@ claim_interval Interval on which pending/abandoned ``60000`` (1 Minute)
14271427

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

1430+
.. deprecated:: 5.4
1431+
1432+
Not setting a explicit value for the ``delete_after_ack`` option is
1433+
deprcated since Symfony 5.4. In Symfony 6.0, the default value of this
1434+
option changes from ``false`` to ``true``.
1435+
14301436
In Memory Transport
14311437
~~~~~~~~~~~~~~~~~~~
14321438

0 commit comments

Comments
 (0)