summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Widman <jeff@jeffwidman.com>2017-11-15 14:38:16 -0800
committerJeff Widman <jeff@jeffwidman.com>2017-11-15 14:40:12 -0800
commit7bde919f2732e34cd76c858c79d965db528a0096 (patch)
tree03ec92ac3e3e98630dc9cf68eca33944fc2eb54a
parenta3995b38210d3700855d5b438529a5387c095569 (diff)
downloadkafka-python-7bde919f2732e34cd76c858c79d965db528a0096.tar.gz
Use correct casing for MB
These values refer to Megabytes, not Megabits. Fix #1295
-rw-r--r--kafka/consumer/fetcher.py2
-rw-r--r--kafka/consumer/group.py2
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.