From 0f91d1b065e8fe0286bac19a676097e6023e813e Mon Sep 17 00:00:00 2001 From: TrePe Date: Fri, 21 Feb 2025 13:51:05 +0100 Subject: [PATCH 1/2] [Messenger] Add options to specify SQS queue attributes and tags --- messenger.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/messenger.rst b/messenger.rst index c6643af0a89..a1fe39be656 100644 --- a/messenger.rst +++ b/messenger.rst @@ -2064,6 +2064,12 @@ The transport has a number of options: ``queue_name`` (default: ``messages``) Name of the queue +``queue_attributes`` + Attributes of a queue as per `SQS CreateQueue API `. Array of strings indexed by keys of :class:`AsyncAws\\Sqs\\Enum\\QueueAttributeName`. Added in Symfony 7.3. + +``queue_tags`` + Cost allocation tags of a queue as per `SQS CreateQueue API `. Array of strings indexed by strings. Added in Symfony 7.3. + ``region`` (default: ``eu-west-1``) Name of the AWS region From ab6565becfa0e9dc6b652cdfc0fd395cb34d4eb3 Mon Sep 17 00:00:00 2001 From: TrePe Date: Fri, 21 Feb 2025 18:43:22 +0100 Subject: [PATCH 2/2] [Messenger] Add options to specify SQS queue attributes and tags --- messenger.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/messenger.rst b/messenger.rst index a1fe39be656..477ef65b740 100644 --- a/messenger.rst +++ b/messenger.rst @@ -2065,10 +2065,10 @@ The transport has a number of options: Name of the queue ``queue_attributes`` - Attributes of a queue as per `SQS CreateQueue API `. Array of strings indexed by keys of :class:`AsyncAws\\Sqs\\Enum\\QueueAttributeName`. Added in Symfony 7.3. + Attributes of a queue as per `SQS CreateQueue API`_. Array of strings indexed by keys of ``AsyncAws\Sqs\Enum\QueueAttributeName``. Added in Symfony 7.3. ``queue_tags`` - Cost allocation tags of a queue as per `SQS CreateQueue API `. Array of strings indexed by strings. Added in Symfony 7.3. + Cost allocation tags of a queue as per `SQS CreateQueue API`_. Array of strings indexed by strings. Added in Symfony 7.3. ``region`` (default: ``eu-west-1``) Name of the AWS region @@ -3643,3 +3643,4 @@ Learn more .. _`article about CQRS`: https://martinfowler.com/bliki/CQRS.html .. _`SSL context options`: https://php.net/context.ssl .. _`predefined constants`: https://www.php.net/pcntl.constants +.. _`SQS CreateQueue API`: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html