-
Notifications
You must be signed in to change notification settings - Fork 257
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
CommandProcessor Bulk Clear #1764 #1927
Conversation
32c70c3
to
b91be3a
Compare
b91be3a
to
24fd3b4
Compare
This looks fairly solid and I don't have any issues with how this is working. We may want to make sure that a publisher confirm works with this, but that would mean we would need to update the transport for RMQ etc, and I am fine with doing that after you get ASB in |
@iancooper thanks for this, I will continue down this path and get a PR in |
24fd3b4
to
21c9edf
Compare
a6c80a1
to
8feaf0a
Compare
- Add Bulk Get, and Bulk Mark as dispatched to Outbox - Add Bulk Clear to Command Processor - Add IAmABulkMessageProdcerAsync Interface
8feaf0a
to
c21c4d9
Compare
- Updated MsSql, MySql, and Sqlite to Support the new Async contract - DynamoDb and EventStore were updated in a minimal way as it doesn't appear that these are being used Around them
This Adds the following Functionality
There is not yet any support for Synchronous Bulk due to the IAsyncEnumerable being used for Async, I could bring the logic back into the ExternalBus service if you wanted me to support this, please let me know and I'll get it in ASAP @iancooper this should be a MVP to allow ASB to dispatch as Bulk, let me know what you think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this works. What we might be able to look at is the same model we use elsewhere - launch a thread to run the bulk update and use a mutex to prevent re-entry if a bulk clear is already running. But I can point you in the direction of our prior art there.
This should allow the Command Processor to Bulk Clear from the Outbox and send Messages to Transports in Batches
@iancooper I would appreciate you're thoughts on this when you have a second before I get too much deeper, however I understand that this is for v9.next