This is an example of CQRS Patten wrote in Java 17 and Spring Boot. I also used mediator pattern in order to isolate write and read flows from each other in one microservice. If you want to separate as two service, you can do it easily. I used Couchbase as write database and Elasticsearch as read database. You can see system diagram below.
-
Notifications
You must be signed in to change notification settings - Fork 1
CanerYesildag/cqrs-microservice-pattern
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published