Skip to content

KAFKA-20847: Carry record metadata on suppress buffer changelog tombstones - #22983

Open
nileshkumar3 wants to merge 2 commits into
apache:trunkfrom
nileshkumar3:KAFKA-20847
Open

KAFKA-20847: Carry record metadata on suppress buffer changelog tombstones#22983
nileshkumar3 wants to merge 2 commits into
apache:trunkfrom
nileshkumar3:KAFKA-20847

Conversation

@nileshkumar3

Copy link
Copy Markdown
Contributor

When a key is evicted from the suppression buffer,
InMemoryTimeOrderedKeyValueChangeBuffer writes a delete marker to the
changelog so the topic can be compacted. That tombstone was written with
no metadata at all (null timestamp and null headers), because the row and
its ProcessorRecordContext were already discarded during evictWhile by the
time commit() fires.
Streams itself does not need this on the restore path (the key is passed
through as raw Bytes), but it makes the tombstone impossible to interpret
for anything else reading the changelog, and it is inconsistent with the
header-aware stores, whose delete path keeps the record self-describing.

@github-actions github-actions Bot added triage PRs from the community streams small Small PRs labels Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

small Small PRs streams triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant