You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Divij Vaidya (Jira)" <ji...@apache.org> on 2023/01/18 13:20:00 UTC

[jira] [Created] (KAFKA-14634) Compression optimization: Calculate the size of decompressed buffer dynamically at runtime.

Divij Vaidya created KAFKA-14634:
------------------------------------

             Summary: Compression optimization: Calculate the size of decompressed buffer dynamically at runtime.
                 Key: KAFKA-14634
                 URL: https://issues.apache.org/jira/browse/KAFKA-14634
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Divij Vaidya
            Assignee: Divij Vaidya
             Fix For: 3.5.0


Calculate the size of decompressed buffer dynamically at runtime. It could be based on recommendation provided by Zstd. Currently fixed at 16KB. Using the value that is recommended by Zstd saves a copy in native code.
see: [https://github.com/facebook/zstd/issues/340]



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