-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[AmazonSqsMessenger] Use AsyncAws to handle SQS communication #36094
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
Conversation
If I run my application on a lambda or EC2, there is no authentication configuration required in Symfony. It will automatically pick up the predefined environment variables. Of course I need to configure the application's role in AWS. |
src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php
Show resolved
Hide resolved
LGTM 👍 (once rebased) |
49c0c68
to
1f96595
Compare
@jderusse Seems like the low-deps job is still failing https://travis-ci.org/github/symfony/symfony/jobs/678251415#L5486, any idea? |
Rebased. But I think we should wait for AsyncAws version 1.0 before merging. |
2aaec99
to
dacb784
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I had some minor suggestions.
👍
src/Symfony/Component/Messenger/Bridge/AmazonSqs/Tests/Transport/AmazonSqsIntegrationTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php
Outdated
Show resolved
Hide resolved
69a06e7
to
de779a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im happy with the PR now
Thank you @jderusse. |
Similar to #35992 this PR use AsyncAws to handle Sqs messages sent/receive
It move complexity of authentication/streaming outside Symfony while keeping HttpClient integration.