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

Automatic requests batching for SQS messages #1355

Open
bigunyak opened this issue Mar 4, 2025 · 0 comments
Open

Automatic requests batching for SQS messages #1355

bigunyak opened this issue Mar 4, 2025 · 0 comments
Labels
component: sqs SQS integration related issue type: feature Integration with a new AWS service or bigger change in existing integration

Comments

@bigunyak
Copy link

bigunyak commented Mar 4, 2025

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.

@maciejwalkowiak maciejwalkowiak added component: sqs SQS integration related issue type: feature Integration with a new AWS service or bigger change in existing integration labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: sqs SQS integration related issue type: feature Integration with a new AWS service or bigger change in existing integration
Projects
None yet
Development

No branches or pull requests

2 participants