summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorzhang-shaoman <zhang.shaoman@zte.com.cn>2019-05-28 16:15:57 +0800
committerzhang-shaoman <zhang.shaoman@zte.com.cn>2019-06-20 11:18:35 +0800
commit9a752862e2cf5a9d7b011b9815c77c38a14cb756 (patch)
treea5761eccd13d0d039b999c19dcebe81fd23e446e /doc/source
parentfe0ac3195ef1dcb1b481f0f5cf6ff2b55ca6056d (diff)
downloadoslo-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/source')
-rw-r--r--doc/source/admin/kafka.rst7
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
^^^^^^^^^^^^^^^^