-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(lz4 encoder/decoder): add support for Lz4 encode and decode #1339
base: main
Are you sure you want to change the base?
Conversation
Hi @jimmystewpot, 1337 indeed. There are a few failing checks and we will also need a sibling PR in Vector to document this function. Otherwise, LGTM! |
The vector PR for documentation updates should be now available here vectordotdev/vector#22702 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small failure to address: https://github.com/vectordotdev/vrl/actions/runs/13983003461/job/39321067362?pr=1339
Head branch was pushed to by a user without write access
Thanks, I've updated the filename. |
Summary
This change aims to introduce support for LZ4 encoding and decoding. We currently use lz4 compression on (some of) our observability pipelines to help with costs and bandwidth utilisation. We reached out to see if this was something that we could contribute to the community in issue #1337 (it is only now that I realise how l33t that issue ID is.. lol)
Change Type
Is this a breaking change?
How did you test this PR?
To minimise the review effort, I have mirrored the test styles and layout from other encoders and decoders. Specifically, I modelled it after the snappy one.
Does this PR include user-facing changes?
our guidelines.
Checklist
run
dd-rust-license-tool write
and commit the changes. More details here.References