One of the _retrieve_offsets
calls is missing the timeout_ms
variable - this leads to an infinite while loop
#2416
Labels
Hi.
When trying to get max offset of the topic like so:
consumer.position(partitions[0])
call get gets stuck in endlesswhile
loop due to the missingtimeout_ms
variable passed to the_retrieve_offsets
method call.I can't tell for sure if this was done on purpose or just omitted - this variable is passed to other calls to this method.
I think
timeout_ms
should be passed to_reset_offset
so that it can then be passed to_retrieve_offsets
.kafka-python/kafka/consumer/fetcher.py
Line 237 in 0864817
The text was updated successfully, but these errors were encountered: