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
| Author | Luís Cabral |
| Status | Accepted |
| JIRA | KAFKA-7061 |
| Wiki | View on Apache Wiki |
| Created | 2018-04-05 |
| Last Modified | 2020-04-30 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.