many-guitar-67205
03/07/2022, 12:59 PMgreen-football-43791
03/07/2022, 9:03 PMgreen-football-43791
03/07/2022, 9:04 PMmany-guitar-67205
03/08/2022, 9:02 AM.proto
file and the FileDescriptorSet
(generated as described here)
• this is a step you would typically add to a deployment pipeline
A few things come to mind:
• schema registry only has the textual representation (.proto), so this would not work in a self-discovery way.
• generating the .protoc files is an extra step in the build process, (not all projects use protoc, e.g. in scala you would typically use scalapb)
• Although I like the idea of adding metadata in the .proto, I'm a bit worried on extending the message itself for these, as this means (part of) the metadata ends up in the message itself. When using pb in high-volume/high throughput scenarios, this is not desired.
For my current use case though, the work you have done looks solid. I'm investigating what the possibilities are with datahub. We have kafkatopics that use pb, so I'll start some experimenting with your branch.gentle-night-56466
03/08/2022, 7:15 PMretain_source_code_info
.
The messages do not contain the metadata fields/values. Protobuf uses protobuf to describe the schema syntax which is why it looks odd.