Skip to content

#1462 Introduce sns batch template#1574

Merged
MatejNedic merged 5 commits intoawspring:mainfrom
MatejNedic:Introduce-SnsBatch-template
Feb 11, 2026
Merged

#1462 Introduce sns batch template#1574
MatejNedic merged 5 commits intoawspring:mainfrom
MatejNedic:Introduce-SnsBatch-template

Conversation

@MatejNedic
Copy link
Member

@MatejNedic MatejNedic commented Feb 6, 2026

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Introduces simple Batching template for Spring Messages abstraction

💡 Motivation and Context

Closes #1462

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • I updated reference documentation to reflect the change
  • All tests passing
  • No breaking changes

🔮 Next steps

@github-actions github-actions bot added component: sns SNS integration related issue type: documentation Documentation or Samples related issue labels Feb 6, 2026
* @author Matej Nedic
* @since 4.0.1
*/
public interface SnsBatchOperations {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this interface be similar to SnsOperations BUT with batch? Meaning, a batch method for sending SnsNotification objects.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have introduced sentNotifications method. Regarding other methods there is no point since Headers are different for each message.

I wouldn't for first hand but we can introduce MessagePostProcessor as well in one of method signatures.

Copy link
Contributor

@maciejwalkowiak maciejwalkowiak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before merging it, lets create a branch 4.0.x for bugfixes and then merge this one to main.

@MatejNedic
Copy link
Member Author

MatejNedic commented Feb 10, 2026

Branch 4.0.x created -> https://github.com/awspring/spring-cloud-aws/tree/4.0.x

All PR comments fixed

@maciejwalkowiak
Copy link
Contributor

Thanks @MatejNedic !

@MatejNedic MatejNedic merged commit d01e69e into awspring:main Feb 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: sns SNS integration related issue type: documentation Documentation or Samples related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SNS Batch Publishing Support to SnsTemplate

2 participants