Configuration.producerCompressionLevel

valid only for GZIP compression, compression level between 1 and 9: 1 gives best speed, 9 gives best compression

struct Configuration
int producerCompressionLevel;

Meta