You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Lianet Magrans (Jira)" <ji...@apache.org> on 2026/07/30 20:17:00 UTC

[jira] [Created] (KAFKA-20866) Remove incremental-only fields from RecordAppendResult

Lianet Magrans created KAFKA-20866:
--------------------------------------

             Summary: Remove incremental-only fields from RecordAppendResult
                 Key: KAFKA-20866
                 URL: https://issues.apache.org/jira/browse/KAFKA-20866
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Lianet Magrans
            Assignee: Lianet Magrans


For the incremental strategy we added two fields to RecordAccumulator.RecordAppendResult (outcome and extensionBytesNeeded)

Neither is used by the default full strategy but RecordAppendResult is created per successful append, so both strategies now carry two fields that only one of them reads.

No impact on latency, just per-append state (bytes for obj in mem) it does not need, and a small refactor removes it 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)