Event-Driven Architectures
Messaging as the Single Source of Truth | Confluent

Messaging as the Single Source of Truth | Confluent

8/2/2017 · Ben Stopford

What this post added

This post introduces Event Sourcing as a pattern where events are the single source of truth, contrasting it with traditional database-centric approaches. It explains how Kafka's log-structured nature and features like retention-based and compacted topics make it suitable as an event store. The post details two primary methods for ingesting events into Kafka: direct event sourcing (writing events as they occur) and using Change Data Capture (CDC) from databases to stream inserts, updates, and deletes. It highlights the benefits of CDC for migrating legacy systems and achieving consistency by writing through a database into Kafka. The post also discusses the trade-offs in event modeling (whole events vs. deltas) and the use of Kafka transactions for handling multiple output events.

Read the original post ↗