symfony / amazon-sqs-messenger
Symfony Amazon SQS extension Messenger Bridge
Package info
github.com/symfony/amazon-sqs-messenger
Type:symfony-messenger-bridge
pkg:composer/symfony/amazon-sqs-messenger
Requires
- php: >=8.4.1
- async-aws/core: ^1.7
- async-aws/sqs: ^1.0|^2.0
- psr/log: ^1|^2|^3
- symfony/messenger: ^8.1
- symfony/service-contracts: ^2.5|^3
Requires (Dev)
- symfony/http-client-contracts: ^2.5|^3
- symfony/property-access: ^7.4|^8.0
- symfony/serializer: ^7.4|^8.0
Conflicts
This package is auto-updated.
Last update: 2026-08-14 13:38:01 UTC
README
Provides Amazon SQS integration for Symfony Messenger.
Available stamps
-
Symfony\Component\Messenger\Bridge\AmazonSqs\Transport\AmazonSqsFifoStamp- Use with FIFO queues (queue name ends with
.fifo). - Set per-message "Message group ID" and optional "Message deduplication ID".
- If both FIFO and FairQueue stamps are present, FIFO takes precedence.
- Use with FIFO queues (queue name ends with
-
Symfony\Component\Messenger\Bridge\AmazonSqs\Transport\AmazonSqsFairQueueStamp- Enables fair queue processing on standard queues by setting
MessageGroupId. - Use a tenant/group identifier to balance processing across groups.
- Has no effect on FIFO queues. Ignored when FIFO stamp is present.
- Enables fair queue processing on standard queues by setting
-
Symfony\Component\Messenger\Bridge\AmazonSqs\Transport\AmazonSqsXrayTraceHeaderStamp- Adds an AWS X-Ray
TraceIdto the outgoing SQS message attributes.
- Adds an AWS X-Ray
-
Symfony\Component\Messenger\Bridge\AmazonSqs\Transport\AmazonSqsReceivedStamp- Carries the SQS
ReceiptHandle/message identifier for received messages.
- Carries the SQS
Notes
-
Middleware:
Symfony\Component\Messenger\Bridge\AmazonSqs\Middleware\AddFifoStampMiddleware- If the message implements
MessageDeduplicationAwareInterface, the middleware addsAmazonSqsFifoStampand sets the deduplication ID. - If the message implements
MessageGroupAwareInterface, the middleware sets the group ID on the stamp.
- If the message implements
-
FIFO queues do not support per-message delay. Configure retry strategy with
delay: 0.
Sponsor
This package is looking for a backer.
Help Symfony by sponsoring its development!