Event Sourcing
In this lesson, we'll study event sourcing.
We'll cover the following...
An architecture’s focus on events can also entail other advantages.
-
The state each microservice has in its database is the result of the events it has received. The state of a microservice can be restored by resending all events it has received so far.
-
The microservice can even change its internal domain model and then process the events again to rebuild its database with the new version of the domain model. This facilitates database schema migration.
-
Thus, each microservice can have its ...