infinyon / fluvio

Lean and mean distributed stream processing system written in rust and web assembly. Alternative to Kafka + Flink in one.
https://www.fluvio.io/
Apache License 2.0
3.88k stars 489 forks source link

fix: use `Compression` as type and introduce `CompressionExt` with algorithms impl #4193

Closed EstebanBorai closed 1 month ago

EstebanBorai commented 1 month ago

Disables compression for Connector Package as its using types for conn meta and not compression algorithms themselves.

Fluvio Compression will now use compress and types features by default, but if you need only types for use cases like configurations, then you can turn off default features and use types feature only instead.

sehz commented 1 month ago

maybe more explanation?

crajcan commented 1 month ago

maybe more explanation?

This crate only uses types from fluvio-compression, but is not intended to invoke the compression algorithms themselves.

By not including the compression algorithms, we can compile this crate for wasm targets successfully.

EstebanBorai commented 1 month ago

Alternate approach provided in #4194

EstebanBorai commented 1 month ago

Surpassed by #4194