smjn opened a new pull request, #24173:
URL: https://github.com/apache/kafka/pull/24173
- When record copy is enabled for a share group's DLQ,
ShareGroupDLQRecordHelper.headers() now preserves the original source record's
headers on the DLQ record instead of discarding them.
- If an original header's key collides with a DLQ context header that is
actually added for that record — unconditionally for
topic/partition/offset/group/delivery-count/cause. The original header is
dropped so the DLQ-computed value
is the only one present.
- Headers are now built RecordHeaders instead of hand-rolled array/size
bookkeeping, removing a class of size/counter-mismatch risk on future edits.
Reviewers:
Andrew Schofield <[email protected]>
Reviewers: Andrew Schofield <[email protected]>
---------
(cherry picked from commit 2d351886500fa6a9bcb297ef1acfe7a36240fa05)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]