lucabriguglia / OpenCQRS

.NET Standard framework to create simple and clean design. Advanced features for DDD, CQRS and Event Sourcing.
Apache License 2.0
3 stars 115 forks source link

Is outbox pattern viable? #74

Closed rulrok closed 5 years ago

rulrok commented 5 years ago

If I understand, outbox could be a mechanism for messaging queue but without relying on external services like message bus; it could just work on the same sql server used for aggregates.

It would require querying database like every 15 seconds or something to consume messages.

Any thoughts if that fits the project?

lucabriguglia commented 5 years ago

It does fit the project but it's not implemented by default. You need to create a service that queries the data store whatever it is and processes the messages. Obviously you need an extra data store or something to track the messages as picked up and processed.

lucabriguglia commented 5 years ago

Closing as it has not been active for a while.