Skip to content

Commit 13c020f

Browse files
committed
Update README.md
1 parent a9a208e commit 13c020f

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
- [Database polling](#4-7-2)
2525
- [Database polling alternative](#4-7-3)
2626
- [Adding new asynchronous event handlers](#4-8)
27-
- [Class diagrams](#4-9)
28-
- [Class diagram of the domain model](#4-9-1)
29-
- [Class diagram of the projections](#4-9-2)
30-
- [Class diagram of the service layer](#4-9-3)
31-
- [Drawbacks](#4-10)
27+
- [Drawbacks](#4-9)
28+
- [Class diagrams](#4-10)
29+
- [Class diagram of the domain model](#4-10-1)
30+
- [Class diagram of the projections](#4-10-2)
31+
- [Class diagram of the service layer](#4-10-3)
3232
- [How to run the sample?](#5)
3333

3434
<!-- Table of contents is made with https://github.com/evgeniy-khist/markdown-toc -->
@@ -484,23 +484,7 @@ and not everything from the first one.
484484
New subscriptions (event handlers) in the first poll will read and process all events.
485485
Be careful, if there are too many events, they may take a long time to process.
486486
487-
### <a id="4-9"></a>Class diagrams
488-
489-
This reference implementation can be easily extended to comply with your domain model.
490-
491-
#### <a id="4-9-1"></a>Class diagram of the domain model
492-
493-
![Class diagram of the domain model](img/class-domain.svg)
494-
495-
#### <a id="4-9-2"></a>Class diagram of the projections
496-
497-
![Class diagram of the projections](img/class-projection.svg)
498-
499-
#### <a id="4-9-3"></a>Class diagram of the service layer
500-
501-
![Class diagram of the service layer](img/class-service.svg)
502-
503-
### <a id="4-10"></a>Drawbacks
487+
### <a id="4-9"></a>Drawbacks
504488
505489
Using PostgreSQL as an event store has a lot of advantages, but there are also drawbacks.
506490
@@ -520,6 +504,22 @@ Using PostgreSQL as an event store has a lot of advantages, but there are also d
520504
and events created by all later transactions will be read by the event subscription processor
521505
only after this long-running transaction is committed.
522506
507+
### <a id="4-10"></a>Class diagrams
508+
509+
This reference implementation can be easily extended to comply with your domain model.
510+
511+
#### <a id="4-10-1"></a>Class diagram of the domain model
512+
513+
![Class diagram of the domain model](img/class-domain.svg)
514+
515+
#### <a id="4-10-2"></a>Class diagram of the projections
516+
517+
![Class diagram of the projections](img/class-projection.svg)
518+
519+
#### <a id="4-10-3"></a>Class diagram of the service layer
520+
521+
![Class diagram of the service layer](img/class-service.svg)
522+
523523
## <a id="5"></a>How to run the sample?
524524
525525
1. Download & install [SDKMAN!](https://sdkman.io/install).

0 commit comments

Comments
 (0)