conduktor.io ↗

KIP-1026 — Handling producer snapshot when upgrading from < v2.8.0 for Tiered Storage

Discussion Kafka 3.7.1 Tiered Storage

KIP-1026 changes the `LogSegmentData` passed to the Remote Storage Manager API to hold `Optional<Path>` for the producer snapshot index instead of a mandatory `Path`, allowing segments uploaded without an associated snapshot file to be handled gracefully. Users migrating from Kafka versions prior to 2.8.0 (which aligned producer snapshots to segment boundaries) encounter `NullPointerException`s when enabling Tiered Storage because older segments have no snapshot files, breaking the RSM contract.

Details

AuthorDivij Vaidya
StatusDiscussion
Kafka Version3.7.1
JIRAKAFKA-16209
WikiView on Apache Wiki
Created2024-03-08
Last Modified2024-03-10
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.