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

SQS Golang example is outdated #707

Closed
glebarez opened this issue Mar 2, 2024 · 2 comments
Closed

SQS Golang example is outdated #707

glebarez opened this issue Mar 2, 2024 · 2 comments
Labels
message-queue Yandex Message Queue

Comments

@glebarez
Copy link

glebarez commented Mar 2, 2024

The example: https://cloud.yandex.ru/ru/docs/message-queue/instruments/golang doesn't work with recent versions of AWS SQS SDK.
Recently SQS migrated their service's protocol from the Query protocol which was XML based, to a JSONRPC protocol, and updated the default SDK behavior accordingly.

See aws/aws-sdk-go-v2#2451 for exact error and explanation.

@glebarez
Copy link
Author

glebarez commented Mar 3, 2024

The workaround is to downgrade corresponding deps:

github.com/aws/aws-sdk-go-v2 v1.22.2
github.com/aws/aws-sdk-go-v2/config v1.25.0
github.com/aws/aws-sdk-go-v2/service/sqs v1.26.0

@redalka-cloud redalka-cloud added the message-queue Yandex Message Queue label Mar 7, 2024
@pyatnitsev
Copy link
Contributor

It seems fixed in #725

@glebarez glebarez closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
message-queue Yandex Message Queue
Projects
None yet
Development

No branches or pull requests

3 participants