I have a process that in a very quick period of time is publishing many SNS messages that would be processed by Lambda. However, Lambda is processing it one at the time. Is it a way to apply something similar to SQS long pooling?
I have code:
exports.saveLog = async (event) => {
console.log('Event : ', event.Records.length);
event.Records.forEach(record => {
const sql = record.Sns.Message;
...
I would like to Lambda receive a set of messages if they are published in a short period of time - Is it possible?