Chia-Ping Tsai created KAFKA-12387:
--------------------------------------
Summary: Avoid unnecessary copy of FetchResponse data in
handleFetchRequest
Key: KAFKA-12387
URL: https://issues.apache.org/jira/browse/KAFKA-12387
Project: Kafka
Issue Type: Improvement
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
the inner method "processResponseCallback" and "maybeConvertFetchedData" create
many copy from input data. After [https://github.com/apache/kafka/pull/9758] is
merged, the data is changed to auto-generated data which is mutable. Hence, we
can mutate input data to avoid copy.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)