Skip to content

Automatic requests batching for SQS messages #1355

@bigunyak

Description

@bigunyak

Type: Feature

Describe the solution you'd like
In AWS SDK v1 there was a feature which allowed automatic batching of outgoing SQS messages.
For that we only needed to create AmazonSQSBufferedAsyncClient and supply it to QueueMessagingTemplate. That worked perfectly because AmazonSQSBufferedAsyncClient implements AmazonSQSAsync interface which makes it completely transparent for usage in QueueMessagingTemplate.
Unfortunately, this is no longer the case with AWS SDK v2. New implementation for automatic batching is now based on SqsAsyncBatchManager which makes it impossible to use with spring-cloud-aws. Searching in the spring-cloud-aws codebase, I find no usages of SqsAsyncBatchManager, so looks like it's not supported in any way in the current implementation.
My question is if you're planning to add support for it in the future?

Describe alternatives you've considered
Current alternative is to use SqsAsyncBatchManager directly instead of SqsTemplate.

Metadata

Metadata

Assignees

Labels

component: sqsSQS integration related issuestatus: ideal-for-contributionWe agree it's nice to have but it is not team prioritytype: featureIntegration with a new AWS service or bigger change in existing integration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions