apisix
apisix copied to clipboard
Feature : Support for Protobuf in udp and tcp logger for sending logs information
Description
The current udp and tcp logger support JSON as payload format. UDP logger: https://apisix.apache.org/docs/apisix/plugins/udp-logger/#metadata TCP logger: https://apisix.apache.org/docs/apisix/plugins/tcp-logger/#metadata
Example : "log_format": { "host": "$host", "@timestamp": "$time_iso8601", "client_ip": "$remote_addr" }
The request in this feature is to support protobuf for information transfer to a udp or tcp server. Protobuf format : https://github.com/protocolbuffers/protobuf
Advantages 1.) Efficiency: Protobuf is a binary serialization format that is designed for efficient encoding and decoding of data. 2.) Flexibility: Protobuf provides support for versioning and schema evolution, which allows for more flexibility in log data structures over time. 3.) Maintainability: Protobuf uses a schema definition language (IDL) to define the structure of log data, which provides a clear contract between log producers and consumers.
sounds interesting. @codifierr are you interesting in this feature ? or raise a proposal for discuss
sounds interesting. @codifierr are you interesting in this feature ? or raise a proposal for discuss
Yes. We want to use this for our use case.
Any update on this request?
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.