Skip to main content

compress

Compresses messages according to the selected algorithm. Supported compression algorithms are: gzip, pgzip, zlib, flate, snappy, lz4.

# Config fields, showing default values
label: ""
compress:
algorithm: ""
level: -1

The 'level' field might not apply to all algorithms.

Fields

algorithm

The compression algorithm to use.

Type: string
Default: ""
Options: gzip, pgzip, zlib, flate, snappy, lz4.

level

The level of compression to use. May not be applicable to all algorithms.

Type: int
Default: -1