-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Is your feature request related to a problem? Please describe.
I have an integration with 3d-party API that has restrictions on having more than one concurrent request from the same customer. I use SQS to trigger API call, so sometimes it happens that the requests are processed and the same time. Thus, I really need to somehow filter messages from SQS based on the content of a message so some of the messages from the batch that have a specific combination of parameters will be released/deleted/etc, therefore not processed on my end at the same time. Overall this is maybe not the straight-forward issue, but I'm really frustrated with this API restrictions I cannot manage.
Describe the solution you'd like
In my opinion the simplest way to solve the problem I'm facing is to have a new event that emits an array of messages. Then I will be able to process every message on my end.
Additional context
Version used: 4.4.1
Node version: 16.5.0