Spring Kafka and Exactly-Once-ish: Transactions, EOS, and the Remaining Gaps
read-process-write with Kafka transactions, idempotent producers, and why 'exactly once' still stops at the database unless you join the TX.
Tag
6 articles · 20 min of reading
read-process-write with Kafka transactions, idempotent producers, and why 'exactly once' still stops at the database unless you join the TX.
The layer model: a strictly serializable ordered map, transactions via the sequencer, and why Record Layer and Document Layer exist.
Why deadlocks happen even in well-designed schemas, how to read a deadlock log, and the lock-ordering habits that prevent them.
A practical look at how Spring's @Transactional works through dynamic proxies, why self-invocation silently breaks it, and how propagation settings actually behave.
How Postgres lets readers and writers proceed without blocking each other, what a snapshot actually is, and where MVCC's costs show up later.
A tour of READ UNCOMMITTED through SERIALIZABLE, the dirty reads and phantom rows each level permits, and how to pick one without guessing.