Supporting protofile descriptor to deserialize protobuf messages and masking a field in the protobuf message definition #3682
SamsadSajid
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
Currently, to deserialize a protobuf message, Kakfa UI supports the packaging of the actual proto definitions in the configuration. [Reference]
This is a very good and super helpful feature. However, for a large number of proto files, there are some repetitive tasks involved.
Proto file descriptor
A proto file descriptor is a binary file after compiling the original proto definitions. One can learn at runtime the message definitions, types, and fields annotation of the proto messages from the file descriptor.
Feature request: The usage of the Proto file descriptor in Kafka UI
Currently, in Kafka UI configuration, one needs to package the protobuf files in the
protobufFilesDir
setting and create a map of topic name to topic type in theprotobufMessageNameByTopic
setting.For a large number of proto files, this can be a bit repetitive task. Whereas the proto file descriptor already contains all the information needed to create the deserialization from a protobuf message and masking fields in that message. Utilizing the descriptor file:
Hence, I am raising this feature request with the lovely Kafka UI team. Looking forward to hearing your thoughts folks. 😃
Beta Was this translation helpful? Give feedback.
All reactions