summaryrefslogtreecommitdiff
path: root/kafka/client_async.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2017-03-07 11:33:23 -0800
committerDana Powers <dana.powers@gmail.com>2017-03-07 12:24:55 -0800
commita4338169d4e87536ed2e81ce41d9276e2f3d73a9 (patch)
tree3f1fe0314af2985268d1ad4e26d4a4b3375057b8 /kafka/client_async.py
parent1810816b00770c9aaf0e3175fe3d73d3ed19f81d (diff)
downloadkafka-python-a4338169d4e87536ed2e81ce41d9276e2f3d73a9.tar.gz
Add ClusterMetadata documentation
Diffstat (limited to 'kafka/client_async.py')
-rw-r--r--kafka/client_async.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/kafka/client_async.py b/kafka/client_async.py
index 9e30e09..5824e7a 100644
--- a/kafka/client_async.py
+++ b/kafka/client_async.py
@@ -48,6 +48,10 @@ class KafkaClient(object):
This class is not thread-safe!
+ Attributes:
+ cluster (:any:`ClusterMetadata`): Local cache of cluster metadata, retrived
+ via MetadataRequests during :meth:`.poll`.
+
Keyword Arguments:
bootstrap_servers: 'host[:port]' string (or list of 'host[:port]'
strings) that the consumer should contact to bootstrap initial