-
Notifications
You must be signed in to change notification settings - Fork 29
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
Introduce for SQS.SendMessageBatch #101
Conversation
- Introduces SQS.SendMessageBatch function - Refactors SQS service to use json instead of xml requests. - Had to bump local stack image because of localstack/localstack#9610
# Conflicts: # dist/aws.js # dist/aws.js.map # dist/index.js # dist/index.js.map # dist/sqs.js # dist/sqs.js.map
Hi @lolleko 👋🏻 Apologies for the delay. Thanks a lot for your contribution 🙇🏻 At first glance, this looks good. However, could you please update the PR based on the latest state of Furthermore, I'm not an SQS user myself. Is there an advantage to using JSON over XML besides the format itself? Is XML possibly deprecated or considered a legacy format? |
# Conflicts: # dist/aws.js # dist/aws.js.map # dist/index.js # dist/index.js.map # dist/sqs.js # dist/sqs.js.map
Hey @oleiade, no worries, and also sorry from my side for not picking this up again sooner. Updated to latest main :)
TBH for me it was mainly a personal preference, since XML is complex to work with especially in JS/TS.
So not deprecated, but discouraged. |
I see, thanks a lot @lolleko for the explanation, that makes sense 🙇🏻 I'll go ahead and make a more thorough review then, and let's get this through the door 🎉 |
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.
Looks good to me indeed 👍🏻 👏🏻 🚀
Will make sure to document it and integrate in the next release which I assume will happen once we have also addressed the other outstanding issue/PR about binary content 🙇🏻
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.
Introduces SQS.SendMessageBatch function
Refactors SQS service to use json instead of xml requests.
Had to bump local stack image because of Bug: creating sqs queue in localstack: localstack.aws.protocol.parser.ProtocolParserError: Operation detection failed. Missing Action in request for query-protocol service ServiceModel(sqs). localstack/localstack#9610
Potential breaking change because i renamed Message to MessageResponse, can also revert