From 3352f29e4dd8dfb8518e061e3d38222ee418261e Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 25 Feb 2025 08:40:15 +0100 Subject: [PATCH] Added the missing keepalive option --- messenger.rst | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/messenger.rst b/messenger.rst index 239081c4930..daaeb4d6239 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1713,6 +1713,10 @@ The Beanstalkd transport DSN may looks like this: The transport has a number of options: +``keepalive`` (default: none) + The amount of time, in seconds, the consumer can take to process the message + without considering it timed out. + ``tube_name`` (default: ``default``) Name of the queue @@ -1726,7 +1730,7 @@ The transport has a number of options: .. versionadded:: 7.2 - Keepalive support, using the ``--keepalive`` option, was added in Symfony 7.2. + The ``keepalive`` option was introduced in Symfony 7.2. .. _messenger-redis-transport: @@ -1997,6 +2001,11 @@ The transport has a number of options: ``endpoint`` (default: ``https://sqs.eu-west-1.amazonaws.com``) Absolute URL to the SQS service +``keepalive`` (default: none) + The minimum amount of time, in seconds, the message remains invisible to other + consumers so you can process it. It's useful to manage long-running tasks or + delay retries for a given message. + ``poll_timeout`` (default: ``0.1``) Wait for new message duration in seconds @@ -2018,6 +2027,10 @@ The transport has a number of options: ``wait_time`` (default: ``20``) `Long polling`_ duration in seconds +.. versionadded:: 7.2 + + The ``keepalive`` option was introduced in Symfony 7.2. + .. note:: The ``wait_time`` parameter defines the maximum duration Amazon SQS should @@ -2050,10 +2063,6 @@ 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. -.. versionadded:: 7.2 - - Keepalive support, using the ``--keepalive`` option, was added in Symfony 7.2. - Serializing Messages ~~~~~~~~~~~~~~~~~~~~