docs icon indicating copy to clipboard operation
docs copied to clipboard

SQS Golang example is outdated

Open glebarez opened this issue 11 months ago • 2 comments

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 https://github.com/aws/aws-sdk-go-v2/issues/2451 for exact error and explanation.

glebarez avatar Mar 02 '24 13:03 glebarez

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

glebarez avatar Mar 03 '24 15:03 glebarez

It seems fixed in #725

pyatnitsev avatar Mar 28 '24 09:03 pyatnitsev