I have an in memory proto schema which I am reading from the schema
registry. I am looking for a way or the best way if there are more than
one, to get the descriptor for this schema. How can I do that? I am new to
protobuf and pardon me if the provided information is not sufficient, but I
can
Matt, I am using Java.
Thanks!
Vikas
On Saturday, August 6, 2022 at 11:57:25 AM UTC-7 k...@google.com wrote:
> Vikas~
>
> What language are you using (C++, Java, Python, etc)?
>
> Matt
>
> On Fri, Aug 5, 2022 at 5:14 PM Vikas Dahiya wrote:
>
>> I have an in
;
> Do you have links to your code or snippets you can share? Are you using
> kafka or AWS schema registry or something?
>
> Matt
>
> On Sat, Aug 6, 2022 at 3:23 PM Vikas Dahiya
> wrote:
>
>> Matt, I am using Java.
>>
>> Thanks!
>> Vikas
&g
geOrBuilder)o).getDescriptorForType();
> }
> return nullptr;
> ```
>
> If you are using the JavaLite runtime, you may not have descriptor
> information available, so this can produce nullptr.
>
> Matt
>
> On Sat, Aug 6, 2022 at 4:13 PM Vikas Dahiya wrote:
>
>>
sking how to dynamically compile a .proto message into a
> descriptor that you can load at runtime. I don't have a good answer here
> short of launching `protoc` as a subprocess.
>
> Matt
>
> On Mon, Aug 8, 2022 at 1:29 PM Vikas Dahiya wrote:
>
>> Thanks, Matt!
>>
>
sk on one
> of their lists or maybe stack overflow.
>
> Matt
>
> On Sat, Aug 6, 2022 at 3:57 PM Vikas Dahiya wrote:
>
>> Matt, I am using kafka, I don’t have a code snippet as I am just getting
>> the schema from confulant schema registry and need a descriptor to create
>&g
m wrote:
>>
>>> Vikas~
>>>
>>> You are asking how to dynamically compile a .proto message into a
>>> descriptor that you can load at runtime. I don't have a good answer here
>>> short of launching `protoc` as a subprocess.
>>>
>