You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, AIOKafkaConsumer.end_offsets fires off either an OffsetRequest_v0 or OffsetRequest_v1 message to the broker.
Here, the broker will reply with the high watermark (HWM), but if you need the last stable offset (LSO) instead, you need to supply the isolation_level. This field was added in OffsetRequest_v2.
Describe the solution you'd like
Currently,
AIOKafkaConsumer.end_offsets
fires off either anOffsetRequest_v0
orOffsetRequest_v1
message to the broker.Here, the broker will reply with the high watermark (HWM), but if you need the last stable offset (LSO) instead, you need to supply the
isolation_level
. This field was added inOffsetRequest_v2
.aiokafka/aiokafka/consumer/fetcher.py
Lines 995 to 1005 in 29b58db
The
Fetcher
class already has the isolation level of the consumer, so can we switch this API call to use the newer protocol?For example:
The text was updated successfully, but these errors were encountered: