A transactional producer writes records to the log right away and commits or aborts the transaction later. Aborted records are not removed from the log. So a consumer needs a rule: which records to hand to the application, which to skip and what to do with an unfinished transaction's records.
In this lesson
- Transaction markers
- Two isolation levels
- Last stable offset
- read_committed in franz-go
- Common mistake
- Key points