Expand description
Batch-offset continuity, record placement, and rewrite admission for offline restore verification.
Structs§
- Restore
Batch Frame - The batch-header fields that place a record in offset and time.
- Restore
Content Exclusions - Which content patterns matched one record’s raw key and header bytes.
- Restore
Exclusions - Which operator exclusion predicates matched one record.
- Restore
Layout - Offset layout of one rewritten batch.
- Restore
Producer - Producer identity and batch kind of one rewritten batch.
- Restore
Record Deltas - One record’s encoded offset and timestamp deltas.
Enums§
- Restore
Filter Decision - Batch fate after folding the exact per-record selection results.
- Restore
Reconcile Decision - What restore does with one segment after comparing scan and snapshot.
- Restore
Snapshot State - One remote segment’s lifecycle state in the RLMM snapshot, or its absence.
- Restore
Timestamp Type - Kafka’s batch timestamp type: attributes bit 3
(
DefaultRecordBatch.TIMESTAMP_TYPE_MASK).
Functions§
- restore_
archive_ reconcile - Reconcile one archive-scan observation with one snapshot lifecycle state.
- restore_
batch_ filter_ decision - Fold whether the record walk saw at least one keep and one drop.
- restore_
batch_ past_ offset_ bound - A sorted batch stream may stop exactly when the next batch base is past an inclusive offset bound.
- restore_
batch_ step - Validate one archived batch and return its exclusive next offset.
- restore_
record_ coordinates - Compute one record’s absolute offset and Kafka timestamp within its batch.
- restore_
record_ selected - Keep one record exactly when it is inside both bounds and no exclusion
predicate matches.
--to-offsetis inclusive;--to-timestampis exclusive. - restore_
rewritten_ batch_ header - Admit a batch header synthesized or re-encoded by restore and return its exclusive offset frontier.
- restore_
rewritten_ record - Validate one retained record against the synthesized header and return its absolute offset and Kafka timestamp.