Event Sourcing Using Apache Kafka
The text discusses how Apache Kafka can be used for event sourcing, which involves storing a stream of events related to entities in an application instead of their current state. It explains that Kafka provides flexibility and power through its data streaming engine design, allowing users to work with high-level streaming APIs or low-level consumers. The text also covers querying the "current" state of each entity using Kafka Streams and state stores, handling side-effects, and implementing aggregations or projections. It concludes by stating that while Kafka wasn't originally designed for event sourcing, its design makes it well-suited for this purpose.
Company
Confluent
Date published
March 13, 2018
Author(s)
Adam Warski, Lucia Cerchie, Josep Prat
Word count
2476
Language
English
Hacker News points
None found.