diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-02-15 16:13:30 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2016-02-15 16:13:30 -0800 |
commit | 494800cd004b3547d29bee2d7dc0a7ccf2c3dbe0 (patch) | |
tree | 057eb92186222d48a225550ca22ac74211fd38f7 /kafka/client.py | |
parent | 7eeba0d15f977eb3b17a34b8ed57d75520c7aa60 (diff) | |
download | kafka-python-494800cd004b3547d29bee2d7dc0a7ccf2c3dbe0.tar.gz |
Fixup SimpleClient.topic_partitions comment
Diffstat (limited to 'kafka/client.py')
-rw-r--r-- | kafka/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/client.py b/kafka/client.py index a517997..e76274c 100644 --- a/kafka/client.py +++ b/kafka/client.py @@ -48,7 +48,7 @@ class SimpleClient(object): self._conns = {} self.brokers = {} # broker_id -> BrokerMetadata self.topics_to_brokers = {} # TopicPartition -> BrokerMetadata - self.topic_partitions = {} # topic -> partition -> PartitionMetadata + self.topic_partitions = {} # topic -> partition -> leader self.load_metadata_for_topics() # bootstrap with all metadata |