Question:
I am developing an application in which I need to send multiple events to SNS. Is there any way to send all the events in batch or do I need to send/ publish using a for-loop (I’m using Java) one by one to the SNS.
Answer:
The publish()
API call only sends one message.
You will need to loop through your data and call publish()
for each message.