Skip to content

Commit 5d63ad9

Browse files
committed
Bump to ListOffsets v4 in fetcher
1 parent 6a637e0 commit 5d63ad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/consumer/fetcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def on_fail(err):
576576
return list_offsets_future
577577

578578
def _send_list_offsets_request(self, node_id, timestamps_and_epochs):
579-
version = self._client.api_version(ListOffsetsRequest, max_version=3)
579+
version = self._client.api_version(ListOffsetsRequest, max_version=4)
580580
by_topic = collections.defaultdict(list)
581581
for tp, (timestamp, leader_epoch) in six.iteritems(timestamps_and_epochs):
582582
if version >= 4:

0 commit comments

Comments
 (0)