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

Chia-Ping Tsai resolved KAFKA-17847.
------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

> Avoid the extra bytes copy when compressing telemetry payload 
> --------------------------------------------------------------
>
>                 Key: KAFKA-17847
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17847
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Wei-Ting Chen
>            Priority: Major
>             Fix For: 4.0.0
>
>
> https://github.com/apache/kafka/blob/6e8df2951d8a93e0c4197d1054b0c4dec9e1f289/clients/src/main/java/org/apache/kafka/common/telemetry/internals/ClientTelemetryReporter.java#L710
> `createPayload should return `MetricsData`, and then leverage 
> MetricsData#writeTo to compress the data, avoiding extra byte copying.



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

Reply via email to