Skip to content

Commit 50ba3b2

Browse files
committed
[Messenger] Clarify keepalive implementation for each transport
1 parent bcb0e34 commit 50ba3b2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

messenger.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,6 +1786,13 @@ The transport has a number of options:
17861786
The message time to run before it is put back in the ready queue - in
17871787
seconds.
17881788

1789+
The Beanstalkd transport supports the ``--keepalive`` option by using Beanstalkd's
1790+
``touch`` command to periodically reset the job's ``ttr``.
1791+
1792+
.. versionadded:: 7.2
1793+
1794+
Keepalive support was introduced in Symfony 7.2.
1795+
17891796
The Beanstalkd transport lets you set the priority of the messages being dispatched.
17901797
Use the ``Symfony\Component\Messenger\Bridge\Beanstalkd\Transport\BeanstalkdPriorityStamp``
17911798
and pass a number to specify the priority (default = ``1024``; lower numbers mean higher priority)::
@@ -2135,6 +2142,13 @@ The transport has a number of options:
21352142
FIFO queues don't support setting a delay per message, a value of ``delay: 0``
21362143
is required in the retry strategy settings.
21372144

2145+
The SQS transport supports the ``--keepalive`` option by using the ``ChangeMessageVisibility``
2146+
action to periodically update the ``VisibilityTimeout`` of the message.
2147+
2148+
.. versionadded:: 7.2
2149+
2150+
Keepalive support was introduced in Symfony 7.2.
2151+
21382152
Serializing Messages
21392153
~~~~~~~~~~~~~~~~~~~~
21402154

0 commit comments

Comments
 (0)