Don’t Fail Publishing Events!
Consistency is critical when working with an event-driven architecture. You must ensure that when you make state changes to your database, the relevant events you want to publish are published. You can’t fail publishing events. Events are first-class citizens, and when events drive workflows and business processes, they rely on this consistency between state changes and published events. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Atomicity Here’s an example of placing an order. At the very bottom of this method, we publish an OrderPlaced event… Read More »Don’t Fail Publishing Events!