Episode Summary
Martin and Adam tackle the common misconception that event sourcing makes GDPR compliance harder due to immutability. They explain how event sourcing actually provides superior transparency and auditability compared to traditional systems. The discussion covers practical approaches to handling personal data deletion requests while maintaining event sourcing benefits.
Main Discussion Points
- GDPR Misconceptions: Debunking the myth that immutable event stores violate GDPR’s right to deletion
- Transparency Advantage: How event sourcing provides the complete audit trail that GDPR actually requires
- Deletion Strategies: Practical approaches including crypto-shredding, event encryption, and metadata separation
- Learning Using Slices: How slices provide excellent learning vehicles for junior developers and career changers
- Compliance Theater: Why many GDPR implementations focus on appearance rather than actual data protection
- Event Store as Source of Truth: Leveraging event sourcing’s accountability for demonstrating compliance
Key Takeaways
Event sourcing’s immutability does not conflict with GDPR’s right to deletion - it actually provides superior compliance capabilities compared to traditional systems. Personal data can be encrypted with per-user keys (crypto-shredding), stored in metadata separate from business events, or handled through other strategies that preserve business event history while enabling data deletion. Event sourcing’s complete audit trail provides the transparency GDPR actually requires, unlike traditional systems where deletion often means losing all trace of past actions. The slice-based learning approach makes event sourcing accessible to developers at all skill levels.
Memorable Quotes
- “Event sourcing is the default and I only deviate from that if there is a compelling reason. Quite the opposite how the industry sees it” - Martin Dilger
- “I simply will not um take as default uh losing information it’s just absolutely uh non-starter for me” - Adam Dymitruk
- “I don’t want to have to be a detective to find out how something went wrong. He wants to have the evidence right there of how it went wrong. And that’s what you get with event sourcing” - Adam Dymitruk
- “If I am if I want to do GDPR, I would never ever want to do it without event sourcing because I need even more safety for missing, you know, holes of information” - Adam Dymitruk
- “Keep everything on one board as long as possible. So, Miro is pretty good at that” - Martin Dilger
Key Learnings
- Event sourcing should be the default approach for information management systems, not a special case
- GDPR compliance is actually easier with event sourcing because you can trace exactly where personal data is used
- Swim lanes in event models are organizational tools for visualization, not necessarily implementation boundaries
- One Miro board can handle 30,000+ elements and should be used for entire projects to maintain context
- Communicating event modeling to C-level executives requires focusing on vision, goals, workflows, and budgets rather than technical details
Ready to Learn More?
Explore Event Modeling and Event Sourcing in depth with our tutorials and book.
Join our Event Modeling Workshop to get hands-on experience.
Want to learn how to apply Event Modeling and Event Sourcing in practice?
Follow the Online Course “Implementing Eventsourcing” - comes with a Lifetime Event Modeling Toolkit License.