
9/7/2016 · Neha Narkhede
What this post added
This post introduces the connection between Event Sourcing, CQRS, stream processing, and Apache Kafka. It explains how Kafka acts as a backbone for Event Sourcing by storing immutable event logs. It further details how Kafka Streams can be used to implement the event handler component in CQRS architectures, either by writing to an external datastore or by modeling application state as local, partitioned, and durable state within Kafka Streams itself. This local state is exposed via KTables and benefits from Kafka's fault tolerance, availability, and scalability.