-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Support Message Batching #936
Comments
I'll add the comment that I think the aggregation needs to be by Tenant, also. |
Oh, good point |
NotesThis might be a bit of over-analysis, but there's some hidden complexity to this
Concrete thoughts per endpoint type:
Implementation options
|
Latest ThoughtsUse two new classes that effectively implement
Configure batching separately for each message type. Use LocalQueue for the configuration though. Build a separate receiver for each. If receiving a message from the outside where there's the possibility of batching, use a |
Punchlist
|
Docs on batch messaging End to end tests with tenancy First successful end to end of the batching Can build executor and handler for batched messages Moved batching around, basic configuration is in place Minor changes leading up to more batching work
It comes up often enough.
So if you have a handler like:
public static void Handle(Message[] messages)
, and you publishawait bus.PublishAsync(new Message())
, Wolverine does the aggregation for you. Needs to be able to track the success/failure of each message, plus the batched message. For right now, only support this for local queues.cc @BrianVallelunga
The text was updated successfully, but these errors were encountered: