Skip to content

Commit 23fd9b4

Browse files
committed
[#14391] Minor (mostly formatting) improvements
1 parent f7b8aca commit 23fd9b4

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

messenger.rst

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,16 +1156,17 @@ Amazon SQS
11561156

11571157
.. versionadded:: 5.1
11581158

1159-
The Amazon SQS transport has been added in Symfony 5.1
1160-
Install it by running:
1159+
The Amazon SQS transport as introduced in Symfony 5.1.
11611160

1162-
.. code-block:: terminal
1161+
Install Amazon SQS transport by running:
11631162

1164-
$ composer require symfony/amazon-sqs-messenger
1163+
.. code-block:: terminal
1164+
1165+
$ composer require symfony/amazon-sqs-messenger
11651166
11661167
The ``SQS`` transport configuration looks like this:
11671168

1168-
.. code-block:: bash
1169+
.. code-block:: env
11691170
11701171
# .env
11711172
MESSENGER_TRANSPORT_DSN=sqs://AKIAIOSFODNN7EXAMPLE:j17M97ffSVoKI0briFoo9a@sqs.eu-west-3.amazonaws.com/messages
@@ -1174,29 +1175,29 @@ The ``SQS`` transport configuration looks like this:
11741175
.. note::
11751176

11761177
The transport will automatically create queues that are needed. This
1177-
can be disabled setting the "auto_setup" option to ``false``.
1178+
can be disabled setting the ``auto_setup`` option to ``false``.
11781179

11791180
A number of options can be configured via the DSN or via the ``options`` key
11801181
under the transport in ``messenger.yaml``:
11811182

1182-
================== ====================================== ======================
1183-
Option Description Default
1184-
================== ====================================== ======================
1185-
access_key AWS access key
1186-
account Identifier of the AWS account The owner of the credentials
1187-
auto_setup Whether the table should be created true
1188-
automatically during send / get.
1189-
buffer_size Number of messages to prefetch 9
1190-
endpoint Absolute URL to the SQS service https://sqs.eu-west-1.amazonaws.com
1191-
poll_timeout Wait for new message duration in 0.1
1192-
seconds
1193-
queue_name Name of the queue messages
1194-
region Name of the AWS region eu-west-1
1195-
secret_key AWS secret key
1196-
visibility_timeout Amount of seconds the message will Queue's configuration
1197-
not be visible (`Visibility Timeout`_)
1198-
wait_time `Long polling`_ duration in seconds 20
1199-
================== ====================================== ======================
1183+
====================== ====================================== ===================================
1184+
Option Description Default
1185+
====================== ====================================== ===================================
1186+
``access_key`` AWS access key
1187+
``account`` Identifier of the AWS account The owner of the credentials
1188+
``auto_setup`` Whether the table should be created ``true``
1189+
automatically during send / get.
1190+
``buffer_size`` Number of messages to prefetch 9
1191+
``endpoint`` Absolute URL to the SQS service https://sqs.eu-west-1.amazonaws.com
1192+
``poll_timeout`` Wait for new message duration in 0.1
1193+
seconds
1194+
``queue_name`` Name of the queue messages
1195+
``region`` Name of the AWS region eu-west-1
1196+
``secret_key`` AWS secret key
1197+
``visibility_timeout`` Amount of seconds the message will Queue's configuration
1198+
not be visible (`Visibility Timeout`_)
1199+
``wait_time`` `Long polling`_ duration in seconds 20
1200+
====================== ====================================== ===================================
12001201

12011202
.. note::
12021203

0 commit comments

Comments
 (0)