Skip to content

4.3. Hybrid Architectures and the Log Abstraction

The commit log is the abstraction that collapses the batch/stream divide: an append-only, replayable sequence of records that a batch job and a stream processor can both consume. Once you see the log as the source of truth, Lambda architecture (maintaining separate batch and speed layers) reveals itself as accidental complexity, and Kappa (everything is a stream, reprocess by replaying) becomes the simplification. This chapter covers that progression, log compaction, and Change Data Capture as the bridge from databases into the streaming world.