[
https://issues.apache.org/jira/browse/KAFKA-17296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17911499#comment-17911499
]
David Jacot commented on KAFKA-17296:
-------------------------------------
Removed the fix version as this work is not planned for 4.0.
> Add a new compression option on the broker side
> -----------------------------------------------
>
> Key: KAFKA-17296
> URL: https://issues.apache.org/jira/browse/KAFKA-17296
> Project: Kafka
> Issue Type: New Feature
> Components: compression, config
> Affects Versions: 3.8.0
> Reporter: xiaochen.zhou
> Priority: Minor
> Labels: kip
>
> Compressing data can reduce the bandwidth required for network transmission
> and decrease disk storage usage. If the compression types of the client and
> broker are inconsistent, it may lead to increased resource usage on the
> broker, such as higher CPU usage. Currently, the default compression type on
> the Kafka broker side is "PRODUCER". As I understand it, if the client does
> not use compression, the broker will not use compression either.
> Can we add a new compression option on the broker side, such as
> "PRODUCER_OR_LZ4". With this option, if the client uses a compression type
> (like Snappy), the broker would follow the client's compression type
> (Snappy). If the client does not use compression, the broker would default to
> using LZ4.
> If this suggestion makes sense, I would be happy to implement it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)