From 00554efb253402400f9331c329303aecf48cc86e Mon Sep 17 00:00:00 2001 From: Taras Date: Wed, 21 Feb 2018 20:23:45 +0200 Subject: Add doc notice of optional `crc32c` package --- docs/install.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs') diff --git a/docs/install.rst b/docs/install.rst index cc0e82d..fe740f6 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -70,3 +70,16 @@ Install the `python-snappy` module .. code:: bash pip install python-snappy + + +Optional crc32c install +*********************** +Highly recommended if you are using Kafka 11+ brokers. For those `kafka-python` +uses a new message protocol version, that requires calculation of `crc32c`, +which differs from `zlib.crc32` hash implementation. By default `kafka-python` +calculates it in pure python, which is quite slow. To speed it up we optionally +support https://pypi.python.org/pypi/crc32c package if it's installed. + +.. code:: bash + + pip install crc32c -- cgit v1.2.1