From d49a86aba3ab1fc59ff58e98b50a7f6df318df23 Mon Sep 17 00:00:00 2001 From: HypeMC Date: Sat, 8 Mar 2025 21:34:23 +0100 Subject: [PATCH] [Messenger] Clarify keepalive implementation for each transport --- messenger.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/messenger.rst b/messenger.rst index d76e2170c09..9a5f7017097 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1729,6 +1729,13 @@ The transport has a number of options: The message time to run before it is put back in the ready queue - in seconds. +The Beanstalkd transport supports the ``--keepalive`` option by using Beanstalkd's +``touch`` command to periodically reset the job's ``ttr``. + +.. versionadded:: 7.2 + + Keepalive support was introduced in Symfony 7.2. + .. _messenger-redis-transport: Redis Transport @@ -2051,6 +2058,13 @@ The transport has a number of options: FIFO queues don't support setting a delay per message, a value of ``delay: 0`` is required in the retry strategy settings. +The SQS transport supports the ``--keepalive`` option by using the ``ChangeMessageVisibility`` +action to periodically update the ``VisibilityTimeout`` of the message. + +.. versionadded:: 7.2 + + Keepalive support was introduced in Symfony 7.2. + Serializing Messages ~~~~~~~~~~~~~~~~~~~~