Skip to content

Commit 494800c

Browse files
committed
Fixup SimpleClient.topic_partitions comment
1 parent 7eeba0d commit 494800c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, hosts, client_id=CLIENT_ID,
4848
self._conns = {}
4949
self.brokers = {} # broker_id -> BrokerMetadata
5050
self.topics_to_brokers = {} # TopicPartition -> BrokerMetadata
51-
self.topic_partitions = {} # topic -> partition -> PartitionMetadata
51+
self.topic_partitions = {} # topic -> partition -> leader
5252

5353
self.load_metadata_for_topics() # bootstrap with all metadata
5454

0 commit comments

Comments
 (0)