summaryrefslogtreecommitdiff
path: root/kafka/consumer/group.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/consumer/group.py')
-rw-r--r--kafka/consumer/group.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kafka/consumer/group.py b/kafka/consumer/group.py
index 7fa5710..15a8947 100644
--- a/kafka/consumer/group.py
+++ b/kafka/consumer/group.py
@@ -33,6 +33,8 @@ class KafkaConsumer(six.Iterator):
to allow multiple consumers to load balance consumption of topics (requires
kafka >= 0.9.0.0).
+ The consumer is not thread safe and should not be shared across threads.
+
Arguments:
*topics (str): optional list of topics to subscribe to. If not set,
call :meth:`~kafka.KafkaConsumer.subscribe` or