Posts

Showing posts from June, 2024

Just another example of CQRS and ES

Image
 Maybe you have heard about CQRS (Command Query Responsibility Segregation) design pattern together with ES (Event Sourcing) pattern so many times. However, you may still confuse about it and I am here to give to you an example and also some personal feedback / view about it. (Yes, I am usually very critical instead of hype easily with new patterns, architectures or languages). Before I start defining a bit CQRS - ES I prefer to share the GitHub repository and some instructions first. You can find here  https://github.com/DanielMerchan/cqrs-es-java-spring-plain  a CQRS example with instructions to make it working There are two branches: initial: It is the skeleton project if you want to build it yourself by following every <Step>.md of the main branch main: Contains the CQRS example. Take into consideration the following Make sure 0.md is done in your machine and you have docker ready with the services running 14.md and 20.md has examples on how to test the applicat...