Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add documentation about GetQueueUrl and DSN format in SQS transport#14517

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:5.xfromjderusse:sqs-queueurl
Nov 5, 2020
Merged
Changes fromall 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
15 changes: 13 additions & 2 deletionsmessenger.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1300,7 +1300,7 @@ Amazon SQS

.. versionadded:: 5.1

The Amazon SQS transportas introduced in Symfony 5.1.
The Amazon SQS transporthas been introduced in Symfony 5.1.

The Amazon SQS transport is perfect for application hosted on AWS. Install it by
running:
Expand All@@ -1314,14 +1314,25 @@ The SQS transport DSN may looks like this:
.. code-block:: env

# .env
MESSENGER_TRANSPORT_DSN=sqs://AKIAIOSFODNN7EXAMPLE:j17M97ffSVoKI0briFoo9a@sqs.eu-west-3.amazonaws.com/messages
MESSENGER_TRANSPORT_DSN=https://AKIAIOSFODNN7EXAMPLE:j17M97ffSVoKI0briFoo9a@sqs.eu-west-3.amazonaws.com/123456789012/messages
MESSENGER_TRANSPORT_DSN=sqs://localhost:9494/messages?sslmode=disable

.. note::

The transport will automatically create queues that are needed. This
can be disabled setting the ``auto_setup`` option to ``false``.

.. tip::

Before sending or receiving a message, Symfony needs to convert the queue
name into an AWS queue URL by calling the ``GetQueueUrl`` API in AWS. This
extra API call can be avoided by providing a DSN which is the queue URL.

.. versionadded:: 5.2

Providing a DSN equals to the queue URL to avoid call to ``GetQueueUrl``
has been introduced in Symfony 5.2.

The transport has a number of options:

====================== ====================================== ===================================
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp