[protobuf] Protobuf and Schema Registry

2016-11-18 Thread Ryan Morton
m conducting an investigation into the use of Protobuf for my organization and have a need to perform schema discovery. I've seen a number of articles related to Confluent Schema Registry with Avro. What are folks using for Protobuf? -- You received this message because you are subscribed to

Re: [protobuf] Protobuf and Schema Registry

2016-11-18 Thread 'Adam Cozzette' via Protocol Buffers
Protocol buffer schemas are represented with what are called descriptors, and descriptors themselves can be serialized as protocol buffers so that you can save them on disk or send them over the network or whatever you like. If you want to have a sort of schema registry for protocol buffers then I

Re: [protobuf] Compilation warning with "arenas" option enabled for protobuf-3.1

2016-11-18 Thread 'Adam Cozzette' via Protocol Buffers
I think I see what's going on. Your oneof field gets stored as a union that looks like this in the generated code: union MsgDataUnion { MsgDataUnion() {} ::google::protobuf::internal::ArenaStringPtr first_; ::google::protobuf::uint32 second_; } msg_data_; In

Re: [protobuf] Compilation warning with "arenas" option enabled for protobuf-3.1

2016-11-18 Thread changchunzhao . tnsi
Adam, thank you for debugging and quick response! So is any fix planned in next 3.1 patch? Or need to wait little bit further? Regards. Changchun On Friday, November 18, 2016 at 8:18:36 PM UTC-5, Adam Cozzette wrote: > > I think I see what's going on. Your oneof field gets stored as a union >