-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for FIFO queues #124
Comments
We're not looking to support FIFO queues at this time. |
@TheFarmer1 @nspragg I'm working on a PR to add MessageGroupID based handling of FIFO queues. Not that much actually, as far as I can see now. The speed gains are pretty good though. |
@tnolet did you figure out what is needed to support FIFO queues? |
@OrKoN I think so, will need to run some production load for a bit still. Don’t have a clear estimate. |
@nspragg Still no plans to support FIFO? |
@tnolet Did you do something for this? |
@tnolet Any update on this.? |
One option would be setting Another option is using:
As long as you configure these correctly, you shouldn't have major issues. Here is an snippet:
|
When receiving messages from FIFO queues in batches, the handleMessage function is called in parallel for each message in the batch. For FIFO queues, this should be serially processed to maintain the correct order of processing. Ideally, the MessageGroupID could be used to process messages in different groups in parallel.
If batchSize is set to 1, then FIFO queues work ok naturally.
The text was updated successfully, but these errors were encountered: