Closed bbigras closed 2 years ago
Looking at the upstream code, libz feature should be enabled by default, so perhaps it has something to do with how are are using the kafka client: https://github.com/fede1024/rust-rdkafka/blob/37ba1d22e24a948bc4f0c0f8a609390b24108e1f/Cargo.toml#L44
The problem was that I didn't have zlib in my path while building kafka-delta-ingest.
I figured it out by setting compression.codec
to gzip
. I think this option is only for writes (not read) but kafka-delta-ingest then complained about the missing zlib at runtime.
Here's a test case with redpanda and vector.
git clone https://github.com/bbigras/test-kdi-gzip
run kdi with:
and you'll get: