Domain and integration events
In the context of software development, events are notifications that signify that something significant has occurred within the system. An event represents a change of state or the occurrence of a meaningful action. For instance, in our ERP application, events could include a sales order being placed, a payment being processed, or a beer order being shipped. Events are crucial in decoupling various parts of an application, enabling them to communicate and react to changes without being tightly coupled to one another.
They represent something that has happened in the domain that is of significance to the business. Events are used to communicate changes in the state of the domain. They are immutable facts that capture the state change and are often used to decouple different parts of the system, allowing them to react to changes independently. The fact that they represent something that has happened explains why they are written in past tense.
...