Skip to content

Add SNS Batch Publishing Support to SnsTemplateΒ #1462

@typat

Description

@typat

Type: Feature

Is your feature request related to a problem? Please describe.
Currently, Spring Cloud AWS's SnsTemplate does not support AWS SNS's native batch publishing capabilities introduced in November 2021. You must either use the AWS SDK directly (losing Spring's abstractions and benefits) or make multiple individual publish calls.

Describe the solution you'd like
Add native support for SNS batch publishing to Spring Cloud AWS.
Automatic chunking when more than 10 messages are provided (SNS batch limit)
Proper error handling with partial success scenarios

Describe alternatives you've considered
Using AWS SDK directly, but you lose the Spring abstractions.

Additional context
AWS SNS PublishBatch API documentation

Metadata

Metadata

Assignees

Labels

component: snsSNS integration related issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions