Every Event, Everywhere, All at Once
summary
Quick tour that disambiguates terms and gives concrete guidance: events are facts (not intents), event sourcing stores every state change in streams with EventStoreDB, Martin and MessageDB as examples, streaming uses message logs with offsets (think Kafka) and requires idempotent consumers, use private and public events instead of domain/integration, prefer event-carried state transfer to avoid “clickbait” callbacks, use tombstone markers for stream lifetime and consumer-driven contracts (Pact) to prevent accidental coupling.
AI-written summary · about
chapters (24)
- 0:00Introduction to events confusion
- 1:00What is an event
- 3:30Events versus commands
- 6:00Event listeners and handlers
- 9:32Event streaming explained
- 12:03Message queues vs logs
- 15:33Event-driven architecture
- 18:46Knowledge management in EDA
- 20:09Event storming overview
- 23:25Pivotal events and boundaries
- 24:52Event sourcing flavors
- 25:57Event sourcing vs state storage
- 27:45Event sourcing streams
- 28:06Event store disambiguation
- 31:00Tombstone events explained
- 33:05CQRS retry with tombstones
- 35:32Domain vs integration events
- 37:19Private and public events
- 39:03Event granularity and tradeoffs
- 41:12Clickbait and bloated events
- 43:20Event carried state transfer
- 45:07Bonus: The non-event
- 45:28Talk recap and resources
- 46:33Q&A session
