pulsar-client-go icon indicating copy to clipboard operation
pulsar-client-go copied to clipboard

Question Regarding Protobuf schema

Open sloan-dog opened this issue 3 years ago • 1 comments

Hi,

I would like to utilize protobuf to define schema for a topic.

It is not apparent in documentation the format the protobuf schema function takes, and after reviewing a go test spec for protobuf schema, the test input looks identical to the test input for jsonschema. Can I assume that I should convert my protobufs to jsonschema, and pass the jsonschema string to the protobuf schema function?

Please advise, Thanks

sloan-dog avatar Mar 03 '21 18:03 sloan-dog

I have the same question: Is it possible to define a proto schema for a topic and use it to implement producer/consumer?

goku321 avatar Nov 08 '21 13:11 goku321