Closed dqminh closed 8 years ago
The previous code (#2) was based on https://github.com/lusis/gelfd/commit/79b893ada7867eee1eb78b94cc97cf0199aac32b but apparently the scheme was changed for GelfMessage.java i.e. no more magic header.
This removes the magic header and also optimize the ReadMessage code a bit i.e. no more temporary buffer to store the uncompressed json.
ping @mariussturm
tested this manually with a container running graylog2 locally. Let me know if this looks right.
Yeah, looks good. Will also do some testing later in the week. Thanks again!
The previous code (#2) was based on https://github.com/lusis/gelfd/commit/79b893ada7867eee1eb78b94cc97cf0199aac32b but apparently the scheme was changed for GelfMessage.java i.e. no more magic header.
This removes the magic header and also optimize the ReadMessage code a bit i.e. no more temporary buffer to store the uncompressed json.