tremor-rs / tremor-otelapis

OpenTelemetry v1 bindings - oriented for use in the tremor project
Apache License 2.0
0 stars 1 forks source link

Investigate `prost-derive` in generated source #1

Open darach opened 3 years ago

darach commented 3 years ago

As an alternative to tonic-build, investigate changes to prost code generation to be based on prost-derive structs. This would make compatibility with serde and translation between pb to json more tractable in tremor ( the initial tremor sources/sinks for opentelemetry have an unwieldy amount of json/protobuf translation code.

Via wise suggestion from @hoverbear - recording here for posterity

darach commented 3 years ago

Note - we're also tracking the above via the GSOC project idea for gRPC for tremor