Both Event-driven architecture and Event sourcing are based on events, but conceptually they are different.
- EDA refers to the communication between services. Events are used for integration between system components.
- Event sourcing happens inside a service. Events represent state transition.