From a3c85ddf91536d15a3cb465ac910f95869c20587 Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Fri, 18 Dec 2015 17:03:27 +0100 Subject: Fix typo in docblock --- kafka/codec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kafka/codec.py') diff --git a/kafka/codec.py b/kafka/codec.py index a9373c7..c01fe20 100644 --- a/kafka/codec.py +++ b/kafka/codec.py @@ -69,7 +69,7 @@ def snappy_encode(payload, xerial_compatible=False, xerial_blocksize=32 * 1024): | 16 bytes | BE int32 | snappy bytes | BE int32 | snappy bytes | +-------------+------------+--------------+------------+--------------+ - It is important to not that the blocksize is the amount of uncompressed + It is important to note that the blocksize is the amount of uncompressed data presented to snappy at each block, whereas the blocklen is the number of bytes that will be present in the stream, that is the length will always be <= blocksize. -- cgit v1.2.1