From 494800cd004b3547d29bee2d7dc0a7ccf2c3dbe0 Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Mon, 15 Feb 2016 16:13:30 -0800 Subject: Fixup SimpleClient.topic_partitions comment --- kafka/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kafka') 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 -- cgit v1.2.1