Skip to content

Commit 6521c1d

Browse files
authored
fix typo in documentation (dpkp#2178)
1 parent 9feeb79 commit 6521c1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kafka/admin/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ def _list_consumer_group_offsets_process_response(self, response):
12091209
12101210
:param response: an OffsetFetchResponse.
12111211
:return: A dictionary composed of TopicPartition keys and
1212-
OffsetAndMetada values.
1212+
OffsetAndMetadata values.
12131213
"""
12141214
if response.API_VERSION <= 3:
12151215

@@ -1223,7 +1223,7 @@ def _list_consumer_group_offsets_process_response(self, response):
12231223
.format(response))
12241224

12251225
# transform response into a dictionary with TopicPartition keys and
1226-
# OffsetAndMetada values--this is what the Java AdminClient returns
1226+
# OffsetAndMetadata values--this is what the Java AdminClient returns
12271227
offsets = {}
12281228
for topic, partitions in response.topics:
12291229
for partition, offset, metadata, error_code in partitions:

0 commit comments

Comments
 (0)