Looking for a way to delay a message in a being sent to a lambda by 5 seconds.
So, message 1 received by lambda then 5 seconds later message 2, then 5 seconds later message 3, etc, for say a thousand messages.
Was looking at SQS delay queue and message timers but they're not exactly what I'm looking for.
Step Functions using wait, but that would be expensive at the scale I need.
Ideally need an SQS queue that restricts messages to only being sent every 5 seconds, is there any way to do this?
p.s. not fussed about it being SQS, just need a solution
