diff options
author | zhang-shaoman <zhang.shaoman@zte.com.cn> | 2019-05-28 16:15:57 +0800 |
---|---|---|
committer | zhang-shaoman <zhang.shaoman@zte.com.cn> | 2019-06-20 11:18:35 +0800 |
commit | 9a752862e2cf5a9d7b011b9815c77c38a14cb756 (patch) | |
tree | a5761eccd13d0d039b999c19dcebe81fd23e446e /doc | |
parent | fe0ac3195ef1dcb1b481f0f5cf6ff2b55ca6056d (diff) | |
download | oslo-messaging-9a752862e2cf5a9d7b011b9815c77c38a14cb756.tar.gz |
Support kafka message compression
When the message is large, in order to improve the efficiency of
kafka, we need to compress the message before send it, so we need to
support kafka message compression.
Change-Id: I9e86d43ad934c1f82dc3dcf93d317538f9d2568e
Implements: blueprint support-kafka-compression
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/admin/kafka.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/admin/kafka.rst b/doc/source/admin/kafka.rst index 3c0505c..10361a9 100644 --- a/doc/source/admin/kafka.rst +++ b/doc/source/admin/kafka.rst @@ -183,6 +183,13 @@ producer_batch_timeout producer_batch_size The maximum number of messages batched into one message set +compression_codec + The compression codec for all data generated by the producer, valid values + are: none, gzip, snappy, lz4, zstd. Note that the legal option of this + depends on the kafka version, please refer to `kafka documentation`_. + +.. _kafka documentation: https://kafka.apache.org/documentation/ + Security Options ^^^^^^^^^^^^^^^^ |