Skip to content

Commit 1c3005c

Browse files
committed
minor #14270 [Messenger] Documented the delete_after_reject option (javiereguiluz)
This PR was squashed before being merged into the master branch. Discussion ---------- [Messenger] Documented the delete_after_reject option Fixes #14169 Commits ------- 303419c [Messenger] Documented the delete_after_reject option
2 parents df9dfd3 + 303419c commit 1c3005c

File tree

1 file changed

+25
-19
lines changed

1 file changed

+25
-19
lines changed

messenger.rst

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,25 +1149,27 @@ a running Redis server (^5.0).
11491149
A number of options can be configured via the DSN or via the ``options`` key
11501150
under the transport in ``messenger.yaml``:
11511151

1152-
================== ===================================== =========================
1153-
Option Description Default
1154-
================== ===================================== =========================
1155-
stream The Redis stream name messages
1156-
group The Redis consumer group name symfony
1157-
consumer Consumer name used in Redis consumer
1158-
auto_setup Create the Redis group automatically? true
1159-
auth The Redis password
1160-
delete_after_ack If ``true``, messages are deleted false
1161-
automatically after processing them
1162-
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP``
1163-
in Redis (the
1164-
``Redis::OPT_SERIALIZER`` option)
1165-
stream_max_entries The maximum number of entries which ``0`` (which means "no trimming")
1166-
the stream will be trimmed to. Set
1167-
it to a large enough number to
1168-
avoid losing pending messages
1169-
tls Enable TLS support for the connection false
1170-
================== ===================================== =========================
1152+
=================== ===================================== =========================
1153+
Option Description Default
1154+
=================== ===================================== =========================
1155+
stream The Redis stream name messages
1156+
group The Redis consumer group name symfony
1157+
consumer Consumer name used in Redis consumer
1158+
auto_setup Create the Redis group automatically? true
1159+
auth The Redis password
1160+
delete_after_ack If ``true``, messages are deleted false
1161+
automatically after processing them
1162+
delete_after_reject If ``true``, messages are deleted true
1163+
automatically if they are rejected
1164+
serializer How to serialize the final payload ``Redis::SERIALIZER_PHP``
1165+
in Redis (the
1166+
``Redis::OPT_SERIALIZER`` option)
1167+
stream_max_entries The maximum number of entries which ``0`` (which means "no trimming")
1168+
the stream will be trimmed to. Set
1169+
it to a large enough number to
1170+
avoid losing pending messages
1171+
tls Enable TLS support for the connection false
1172+
=================== ===================================== =========================
11711173

11721174
.. tip::
11731175

@@ -1180,6 +1182,10 @@ tls Enable TLS support for the connection false
11801182

11811183
The ``delete_after_ack`` option was introduced in Symfony 5.1.
11821184

1185+
.. versionadded:: 5.2
1186+
1187+
The ``delete_after_reject`` option was introduced in Symfony 5.2.
1188+
11831189
In Memory Transport
11841190
~~~~~~~~~~~~~~~~~~~
11851191

0 commit comments

Comments
 (0)