Event Sourcing and CQRS through a concrete example
summary
Explains why to use Event Sourcing together with CQRS and shows a concrete implementation example. Uses Java ecosystem tools with PostgreSQL for event storage and ElasticSearch for read-side/querying, and walks through a small working example that demonstrates the approach.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 1:51DDD basics
- 4:41CQRS explained
- 7:31Event Sourcing basics
- 13:11Case study setup
- 16:00Client requirements
- 20:16Tech architecture
- 23:10Event and aggregate
- 27:45Read optimization
- 30:12Write optimization
- 31:58Reporting
- 34:05Full-text search
- 36:14When to use
- 39:25Conflicts handling
- 44:29Consistency challenges
- 46:13Validation
- 48:02Debugging
- 48:43When not to use
- 52:01Resources
- 53:46Q&A
