conduktor.io ↗

KIP-280 — Enhanced log compaction

Accepted Broker

KIP-280 enhances log compaction to support a client-side ordering guarantee: records produced with a sequence number are compacted respecting producer order, not just offset order, preventing a compacted log from presenting a consumer with a state that never existed on the producer. Current compaction is based purely on broker-assigned offsets, which can produce semantically incorrect state for producers that send causally ordered updates.

Details

AuthorLuís Cabral
StatusAccepted
JIRAKAFKA-7061
WikiView on Apache Wiki
Created2018-04-05
Last Modified2020-04-30
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.