apache / apache/curator

[CURATOR-618] Allow compression level to be configurable in the GzipCompressionProvider.

Open
#1,135 0 comments 0 reactions 0 assignees View on GitHub
imported-jira-issue rfe
Dominant language
Java
Stars
3.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Currently the compression level is burned in as the default (-1):

https://github.com/apache/curator/blob/ed3cc848f51b309db69f4e453d0509a48e9212d6/curator-framework/src/main/java/org/apache/curator/framework/imps/GzipCompressionProvider.java#L96

It would help in some cases to allow this to be configurable (e.g. when compression ratio matters most or when cpu consumption / latency matters most). Ideally this needs to be configurable at each compress call (which then needs to bubble up into the relevant higher level functions), rather than at construction time, since one gzip compression provider instance is serving all compression FWICT.

---
Originally reported by bmahler, imported from: Allow compression level to be configurable in the GzipCompressionProvider.


  • assignee: randgalt
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-21

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.