Andrew Schofield created KAFKA-18433:
----------------------------------------

             Summary: Adjust ShareFetchRequest RPC to optimise fetching and 
acknowledgement
                 Key: KAFKA-18433
                 URL: https://issues.apache.org/jira/browse/KAFKA-18433
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Andrew Schofield
            Assignee: Andrew Schofield
             Fix For: 4.1.0


Change the RPC request to better align the consumer and broker processing for 
fetching and acknowledgement. Specifically:
* Remove PartitionMaxBytes because for share fetching the broker has 
responsibility for which partitions are fetched as opposed to the consumer
* Add BatchSize which gives the optimal number of records for batches of 
acquired records and acknowledgements.

There will likely be a future round of optimisation to follow.



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

Reply via email to