You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2021/02/28 03:34:00 UTC
[jira] [Created] (KAFKA-12387) Avoid unnecessary copy of
FetchResponse data in handleFetchRequest
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)