From 7bde919f2732e34cd76c858c79d965db528a0096 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Wed, 15 Nov 2017 14:38:16 -0800 Subject: Use correct casing for MB These values refer to Megabytes, not Megabits. Fix #1295 --- kafka/consumer/fetcher.py | 2 +- kafka/consumer/group.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kafka/consumer/fetcher.py b/kafka/consumer/fetcher.py index ddd7567..661df63 100644 --- a/kafka/consumer/fetcher.py +++ b/kafka/consumer/fetcher.py @@ -85,7 +85,7 @@ class Fetcher(six.Iterator): performs fetches to multiple brokers in parallel so memory usage will depend on the number of brokers containing partitions for the topic. - Supported Kafka version >= 0.10.1.0. Default: 52428800 (50 Mb). + Supported Kafka version >= 0.10.1.0. Default: 52428800 (50 MB). max_partition_fetch_bytes (int): The maximum amount of data per-partition the server will return. The maximum total memory used for a request = #partitions * max_partition_fetch_bytes. diff --git a/kafka/consumer/group.py b/kafka/consumer/group.py index 985a733..78686a4 100644 --- a/kafka/consumer/group.py +++ b/kafka/consumer/group.py @@ -74,7 +74,7 @@ class KafkaConsumer(six.Iterator): ensure that the consumer can make progress. NOTE: consumer performs fetches to multiple brokers in parallel so memory usage will depend on the number of brokers containing partitions for the topic. - Supported Kafka version >= 0.10.1.0. Default: 52428800 (50 Mb). + Supported Kafka version >= 0.10.1.0. Default: 52428800 (50 MB). max_partition_fetch_bytes (int): The maximum amount of data per-partition the server will return. The maximum total memory used for a request = #partitions * max_partition_fetch_bytes. -- cgit v1.2.1