[ 
https://issues.apache.org/jira/browse/KAFKA-18855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai resolved KAFKA-18855.
------------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

> MemoryRecords should have slice API
> -----------------------------------
>
>                 Key: KAFKA-18855
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18855
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Apoorv Mittal
>            Assignee: Apoorv Mittal
>            Priority: Major
>             Fix For: 4.1.0
>
>
> Currently FileRecords have a capability to slice records, however 
> MemoryRecords don't have any. The slice API in MemoryRecords is needed to 
> limit the bytes/records being sent to client from broker during `share 
> fetch`. There can be a subset of records acquired by share fetch for the 
> MemoryRecords batch hence MemoryRecords should be sliced to only send the 
> batches which are acquired. If not sliced, then there can be unnecessary 
> bytes transfer from the broker.



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

Reply via email to