A Path to Event Sourcing With Amazon MSK
summary
A Java-based personal banking demo uses Amazon MSK, AWS Fargate, Amazon Elasticsearch and an open-source Simple Sourcing library to implement event sourcing: three container services (write, projection, read) process three command types (CreateAccount, Deposit, Withdraw), append immutable events to Kafka, and build Elasticsearch projections that the read API returns. Infrastructure deploys via CDK pipeline, containers discover MSK brokers at runtime, projections replay from the log to rebuild views, and Prometheus open monitoring is available for the MSK cluster.
AI-written summary · about
chapters (9)
- 0:00Introduction to event sourcing
- 1:00Event sourcing fundamentals
- 3:26Architectural design patterns
- 4:45Benefits of event sourcing
- 9:39Overcoming implementation gaps
- 10:56Amazon MSK overview
- 14:46System design and methodology
- 18:51Banking application demo
- 29:46Summary and conclusion
related talks
31mA Path to Event Sourcing With Amazon MSK
41mMicroservices and Event Sourcing with Kafka and Kubernetes
43mKey-Value, Event-Sourcing, Cqrs, Pub/Sub as a Service, Java, Javascript
52mEvent Sourcing for the Cloud Developer
43mUnraveling the Threads: Event-Sourcing, CQRS, and Event-Driven Architecture
42mImplementing an Event Sourcing Strategy on Azure
48mEvent Sourcing - what could possibly go wrong?
52mEvent Sourcing – the what, why & how
