diff options
author | Dana Powers <dana.powers@rd.io> | 2016-01-24 22:01:09 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@rd.io> | 2016-01-25 10:09:15 -0800 |
commit | 0d5899020a75e22fec14d3e3d7aec8f043d60a31 (patch) | |
tree | e227d12865560026a3170196b331d4d843a9e7fd /kafka/producer/kafka.py | |
parent | 2c7b7452a8ca761672e70ee56b3779e4a96c1997 (diff) | |
download | kafka-python-0d5899020a75e22fec14d3e3d7aec8f043d60a31.tar.gz |
Add support for LZ4 compressed messages using python-lz4 module
Diffstat (limited to 'kafka/producer/kafka.py')
-rw-r--r-- | kafka/producer/kafka.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/producer/kafka.py b/kafka/producer/kafka.py index 220528f..2443265 100644 --- a/kafka/producer/kafka.py +++ b/kafka/producer/kafka.py @@ -111,7 +111,7 @@ class KafkaProducer(object): remains alive. This is the strongest available guarantee. If unset, defaults to acks=1. compression_type (str): The compression type for all data generated by - the producer. Valid values are 'gzip', 'snappy', or None. + the producer. Valid values are 'gzip', 'snappy', 'lz4', or None. Compression is of full batches of data, so the efficacy of batching will also impact the compression ratio (more batching means better compression). Default: None. |