► LEARN MORE: [ Ссылка ]
Event Sourcing is a pattern of storing an object's state as a series of events. Each time the object is updated a new event is written to an append-only log. When the object is loaded from the database, the events are replayed in order, reapplying the necessary changes.
Check out the Designing Event-Driven Microservices course on Confluent Developer for more details: [ Ссылка ]
The benefit of this approach is that it stores a full history of the object. This can be valuable for debugging, auditing, building new models, and a variety of other situations. It is also a technique that can be used to solve the dual-write problem when working with event-driven architectures.
RELATED RESOURCES
► What is the Dual Write Problem?: [ Ссылка ]
► Microservices course playlist: [ Ссылка ]
► Event Sourcing: [ Ссылка ]
► Event Sourcing and Event Storage with Apache Kafka®: [ Ссылка ]
► Microservices: An Introduction [ Ссылка ]
► Event-Driven Microservices Architecture: [ Ссылка ]
► Migrate from Monoliths to Event-Driven Microservices: [ Ссылка ]
► Get Started on Confluent Developer: [ Ссылка ]
CHAPTERS
00:00 - Intro
00:22 - How are objects stored in traditional databases?
01:01 - What is an audit log, and why is it useful?
01:35 - Do audit logs create duplicated data?
01:57 - Should the audit log be used as the source of truth?
02:23 - What is event sourcing?
03:27 - What are some advantages of event sourcing?
04:28 - Does event sourcing solve the dual-write problem?
05:02 - What are some disadvantages of event sourcing?
05:20 - Closing
--
ABOUT CONFLUENT
Confluent is pioneering a fundamentally new category of data infrastructure focused on data in motion. Confluent’s cloud-native offering is the foundational platform for data in motion – designed to be the intelligent connective tissue enabling real-time data, from multiple sources, to constantly stream across the organization. With Confluent, organizations can meet the new business imperative of delivering rich, digital front-end customer experiences and transitioning to sophisticated, real-time, software-driven backend operations. To learn more, please visit www.confluent.io.
#microservices #apachekafka #kafka #confluent
Ещё видео!