mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-26 04:01:11 +00:00
docs: add event sourcing architecture diagram
This commit is contained in:
@@ -41,6 +41,10 @@ In plain words
|
|||||||
|
|
||||||
> The Event Sourcing pattern defines an approach to handling operations on data that's driven by a sequence of events, each of which is recorded in an append-only store. Application code sends a series of events that imperatively describe each action that has occurred on the data to the event store, where they're persisted. Each event represents a set of changes to the data (such as AddedItemToOrder).
|
> The Event Sourcing pattern defines an approach to handling operations on data that's driven by a sequence of events, each of which is recorded in an append-only store. Application code sends a series of events that imperatively describe each action that has occurred on the data to the event store, where they're persisted. Each event represents a set of changes to the data (such as AddedItemToOrder).
|
||||||
|
|
||||||
|
Architecture diagram
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Programmatic Example of Event Sourcing Pattern in Java
|
## Programmatic Example of Event Sourcing Pattern in Java
|
||||||
|
|
||||||
In the programmatic example we transfer some money between bank accounts.
|
In the programmatic example we transfer some money between bank accounts.
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 72 KiB |
Reference in New Issue
Block a user