airlift / aircompressor

A port of Snappy, LZO, LZ4, and Zstandard to Java
Apache License 2.0
562 stars 111 forks source link

Make zstd compressionLevel configurable #107

Closed shangxinli closed 3 years ago

shangxinli commented 4 years ago

Current ZstdCompressor hardcode the compressionLevel as CompressionParameters.DEFAULT_COMPRESSION_LEVEL. It needs to be configuable.

shangxinli commented 4 years ago

Just tried with different level than the default(3), it throws UnsupportedOperation exception. Does it mean airlift only support the default compression level?

glukasiknuro commented 3 years ago

Other levels are not supported, see https://github.com/airlift/aircompressor/issues/99

findepi commented 3 years ago

@glukasiknuro thanks for linking the two.

Closing in favor of https://github.com/airlift/aircompressor/issues/99.