spring-cloud-aws icon indicating copy to clipboard operation
spring-cloud-aws copied to clipboard

Add AWS extended SQS client library support in Spring AWS Cloud.

Open rpbrehm opened this issue 8 years ago • 11 comments

I have run into the issue with message size > 256mb and Spring AWS Cloud not supporting AWS extended SQS client library.

Error explanation from production log: Service: AmazonSQS; Status Code: 400; Error Code: AWS.SimpleQueueService.BatchRequestTooLong; Request ID: _); nested exception is com.amazonaws.services.sqs.model.BatchRequestTooLongException: Batch requests cannot be longer than 262144 bytes. You have sent 262203 bytes.

This is code in production.

It seems that many users are running into this limitation and support for the extended client library should be provided.

rpbrehm avatar Aug 11 '16 18:08 rpbrehm

Do we have any update here? We also need to send bigger data now.

mykevinjung avatar Sep 09 '16 22:09 mykevinjung

I also encountered this problem. Any update on this?

dyhuan123 avatar Nov 13 '16 20:11 dyhuan123

+1

uweschaefer avatar Dec 09 '16 12:12 uweschaefer

Any update?

IvanYe avatar Dec 14 '16 15:12 IvanYe

@alainsahli One hurdle to implementing the Amazon SQS Extended Client Library within Spring Cloud AWS is that there isn't an AsyncClient implementation, and Amazon isn't working on one either.

We could create another module (e.g. spring-cloud-aws-messaging-extended) and duplicate much of the configuration but with a non-async method signature. This obviously isn't elegant.

Do you have any other thoughts on how we can achieve this?

andersonkyle avatar Dec 27 '16 23:12 andersonkyle

About to start a new implementation using aws-cloud and extended lib, did anyone come up with a solution to this ?

varunmehta avatar Jan 11 '19 06:01 varunmehta

any update on this issue? It would be good to have it fixed.

FedorRomanov avatar Nov 16 '19 11:11 FedorRomanov

Still having the issue. Any workaround for this ?

naweenf avatar Jan 14 '20 08:01 naweenf

I forked it out to make it work with spring; check this one out; https://github.com/varunmehta/amazon-sqs-java-extended-client-lib

varunmehta avatar Jan 14 '20 21:01 varunmehta

I forked it out to make it work with spring; check this one out; https://github.com/varunmehta/amazon-sqs-java-extended-client-lib

Is this likely to be merged? Looks like a good solution.

ajross avatar Jul 10 '20 16:07 ajross

ANy update here?

Have implemented support for async as per new version changes fo xtended lib library https://github.com/Harsha-changejar/amazon-sqs-java-extended-client-lib?organization=Harsha-changejar&organization=Harsha-changejar

Harsha-changejar avatar Sep 26 '21 16:09 Harsha-changejar