Compress
compress outbound wraps an upstream outbound and compresses the content of each entry before writing.
To compress an entire archive instead, use the compression field of the Archive outbound.
Structure
{
"type": "compress",
"tag": "compress-out",
"algorithm": "gzip",
"level": 6,
"outbound": "archive-out"
}
Fields
algorithm
Required
The compression algorithm.
| Algorithm | Description |
|---|---|
gzip |
DEFLATE with gzip framing |
zstd |
Zstandard |
lz4 |
LZ4 |
level
Compression level, from 1 to 9.
6 is used by default.
outbound
Required
The tag of the upstream outbound.