the client instance
producer topic
producer partition
the compression type, it uses config.producerCompression by default
valid only for GZIP compression, compression level between 1 and 9: 1 gives best speed, 9 gives best compression, it uses config.producerCompressionLevel by default