summaryrefslogtreecommitdiff
path: root/kafka/structs.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/structs.py')
-rw-r--r--kafka/structs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/structs.py b/kafka/structs.py
index 5902930..3188516 100644
--- a/kafka/structs.py
+++ b/kafka/structs.py
@@ -58,7 +58,7 @@ TopicPartition = namedtuple("TopicPartition",
["topic", "partition"])
BrokerMetadata = namedtuple("BrokerMetadata",
- ["nodeId", "host", "port"])
+ ["nodeId", "host", "port", "rack"])
PartitionMetadata = namedtuple("PartitionMetadata",
["topic", "partition", "leader", "replicas", "isr", "error"])