Automatic requests batching for SQS messages #1355
Labels
component: sqs
SQS integration related issue
type: feature
Integration with a new AWS service or bigger change in existing integration
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 becauseAmazonSQSBufferedAsyncClient
implementsAmazonSQSAsync
interface which makes it completely transparent for usage inQueueMessagingTemplate
.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 ofSqsTemplate
.The text was updated successfully, but these errors were encountered: