From f08ec792ee93fd059e81ee1e30f5651c15f69e85 Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Tue, 26 Jan 2016 20:35:22 -0800 Subject: Handle broken LZ4 framing; switch to lz4tools + xxhash --- docs/index.rst | 5 +++-- docs/install.rst | 10 ++++------ 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index 2f54b09..fd13a46 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -101,8 +101,9 @@ Compression *********** kafka-python supports gzip compression/decompression natively. To produce or -consume snappy and lz4 compressed messages, you must install lz4 (lz4-cffi -if using pypy) and/or python-snappy (also requires snappy library). +consume lz4 compressed messages, you must install lz4tools and xxhash (modules +may not work on python2.6). To enable snappy, install python-snappy (also +requires snappy library). See `Installation `_ for more information. diff --git a/docs/install.rst b/docs/install.rst index aba5019..4dca5d0 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -40,14 +40,12 @@ Using `setup.py` directly: Optional LZ4 install ******************** -To enable LZ4 compression/decompression, install `lz4`: +To enable LZ4 compression/decompression, install lz4tools and xxhash: ->>> pip install lz4 - -Or `lz4-cffi` if using pypy: - ->>> pip install lz4-cffi +>>> pip install lz4tools +>>> pip install xxhash +*Note*: these modules do not support python2.6 Optional Snappy install *********************** -- cgit v1.2.1