“Can’t Kafka Do All of This?”
I hear that question a lot when it comes to event sourcing. Kafka is a message broker, and it as well as other message brokers are fine pieces of technology. You might be wondering why we can’t just use something like Kafka to store the messages instead of Eventide. Kafka—so hot on resumes right now—is particularly is well-suited to handling large numbers of events and moving them around.
Kafka can be configured to retain messages indefinitely, can be used to access events that have previously been processed (necessary for projections), and supports the concept of topics. At first blush, topics seem a whole lot like streams.
One problem is that Kafka expects a set of topics that are defined in advance. In an event-sourced ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access