Open wbarnha opened 8 months ago
do you accept a PR?
I do! I've been busy these days so I'm not actively writing or reviewing code. Once things calm down, I'll get back on the horse. 😀 Please feel free to open a PR though, if it's small, I'll merge it!
do you mind I skip request version 4-9 and implement 10 directly on supported kafka version?
Go for it!
sorry, I just find that confluent-kafka-python support this, I'll just use confluent-kafka-python....
looks like to support kafka v10, we'll need to support session first…
OK, good new is, session
is optional feature and can be omitted.
https://github.com/wbarnha/kafka-python-ng/pull/200
I'm not sure it's a big or small PR, but it would works fine to send basic v10 request.
New feature can be omitted by sending zero value.
We recently switched over to using zstd and have some monitoring, and other tools that use this library. After updating to 2.0.2 we where disappointed to find out that it doesn't work with our data.
The problem seems to be that no matter what version you configure in the consumer it only sends
FetchRequest_V4
as per this logic andFetchRequest_v10
is required for zstd and your own noteSending FetchRequest_V4 against a topic that has zstd data returns this error:
Namely the
error_code=76
which isUNSUPPORTED_COMPRESSION_TYPE