Build Configuration Options

Compression Options

For handling compressed messages, libkafka-asio relies on common compression libraries: zlib and snappy. Of course, this means that an application that uses libkafka-asio must link against those compression libraries. If, for some reason, you do not want to do this, there are several build configuration options available to either turn off specific compression algorithms or compression handling at all.

Turn off handling of compressed messages


Turn off GZIP compression algorithm


Turn off Snappy compression algorithm