Open eapache opened 9 years ago
Which functions do you need?
The functions in https://code.google.com/p/lz4/source/browse/trunk/lib/lz4frame.h?spec=svn126&r=126, although I think just LZ4F_compressFrame
and LZ4F_decompress
might be enough. It's hard to tell without experimentation since Kafka's documentation on exactly which framing options they used is rather incomplete.
Similar to #4 but this is standardized now and part of the upstream project (as of r126) so it should be as simple as pulling in the new upstream code and writing another wrapper. We need this for https://github.com/Shopify/sarama/issues/256 if at all possible.