Skip to content
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

service/sqs: Add support for validating message checksums by default #1748

Merged
merged 2 commits into from
Jul 1, 2022

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented Jun 30, 2022

Adds support for the Amazon SQS client to automatically validate message checksums for SendMessage, SendMessageBatch, and ReceiveMessage. This brings the v2 SDK up to speed with the v1 SDK's behavior.

A DisableMessageChecksumValidation parameter has been added to the Options struct for the sqs package. Setting this to true will disable the checksum validation. This can be set when creating a client, or per operation call.

Based on the v1 SDK's SQS customization

Adds support for the SQS client to automatically validate message
checksums for SendMessage, SendMessageBatch, and ReceiveMessage. This
brings the v2 SDK up to speed with the v1 SDK's behavior.

A DisableMessageChecksumValidation parameter has been added to the
Options struct for SQS package. Setting this to true will disable the
checksum validation. This can be set when creating a client, or per
operation call.
@jasdel jasdel requested a review from skmcgrail June 30, 2022 20:51
service/sqs/cust_checksum_validation.go Outdated Show resolved Hide resolved
@jasdel jasdel merged commit 681ca65 into aws:main Jul 1, 2022
@jasdel jasdel deleted the sync/SqsChecksumValidation branch July 1, 2022 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants