Open flyingflo opened 2 months ago
Another example in Go from grafana.
I should learn Rust :thinking:
I'm planning to implement this once my GELF chunking PR #20859 is merged.
Actually, I have decompression kind of working, but wanted to wait until it's merged so the PR is not bloated with a lot of changes.
I'd appreciate if you could wait until #20859 is merged and I submit the decompression PR
@flyingflo
Thank you for your work @jorgehermo9! Take your time complete it.
A note for the community
Use Cases
Currently, the GELF codec fails to decode compressed messages received via UDP.
GELF supports compression:
Attempted Solutions
If I understand that correctly, decompression is just not yet implemented.
Proposal
The Graylog GELF decoder decides whether it is gzip, zlib, or uncompressed by looking a the magic numbers in the first bytes, then decompress accordingly. It also detects Chunking (#13292) this way.
References
13292
4868
Version
No response