Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Messenger] Fix some syntax issue #20687

Open
wants to merge 2 commits into
base: 7.2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:

Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~

Expand Down