-
-
Notifications
You must be signed in to change notification settings - Fork 137
Amazon SQS JSON protocol instead of Query protocol #1530
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
Comments
Actually, the protocol used by async AWS is defined by AWS SDK specs. So AsyncAws will use JSON as soon as the official SDK will use it. The first link says that the official php SDK switched to JSON in version 3.269.6 (this is visible here https://github.com/aws/aws-sdk-php/blob/343f7088f246d4667172e69d5f2bf440496bb708/src/data/sqs/2012-11-05/api-2.json#L9) But they forgot to says that it has been reverted in the following version (see commit aws/aws-sdk-php@6262f18) I'm not surprised they reverted it, because this is a huge BC break: the JSON protocol is not supported by SQS alternative (or localStack or FakeSqs) which break e2e tests that don't use the real AWS endpoint for dev or tests |
Yeh, their docs are misleading. You need to downgrade to the specific version they list, rather than upgrade. ;) |
Yeah, the misleading things in their doc is that "required SDK version" is not a minimum version. It is an exact version. |
New thing just dropped by: https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-sqs-support-json-protocol/ |
Let me also relate this issue to the localstack support PR: localstack/localstack#8268 |
This is now available on our sqs package via |
I'm closing this issue as |
Introduction
This issue is a feature request to represent and maybe an open discussion about such a feature possibility. Amazon says that it should be available only by updating the AWS-SDK version, so for us, I guess it's just specifying the latest API Version when sending the request.
References
The text was updated successfully, but these errors were encountered: