In this episode I spoke with Steven van Beelen about Command, Event, and Query Handling.
In this episode I spoke with Steven van Beelen about Command, Event, and Query Handling.
Intro:
Brief CQRS
- Briefly Command ModelS
- Why do we need it?
- Where do we use it?
- CommandBus
- @commandhandler (discussing annotation from high level down)
- Coding example?
- What happens next? We know that we do validation but what is the result of that validation?
- Event Handling
- What things can you do when you handle an event?
- Reacting when handling an event, what are those reactions?
- Updating a query model
- EventBus
- Is this also used for event sourcing?
- (Event streaming)
- Annotation & examples
- Query Handling
- QueryBus
- Sending queries….
- It’s not always point to point
- Types of queries
Final Points:
Why do we do these types of messaging?
Location transparency? Why do we segregate these messages?
For more information about AxonIQ visit
axoniq.io