Check out the protobuf schema evolution rules, you may find it's actually simpler with protobuf and don't have to keep track of writer schemas like in Avro: https://developers.google.com/protocol-buffers/docs/proto#updating
Corresponding to Avro GenericRecord you would use protobuf DynamicMessage It's not documented very prominently, but you can use protobuf dynamically (no codegen). Schemas can be constructed at runtime, although the API can get confusing. And from schemas you can construct DynamicMessages. I wrote a wrapper to help make that a bit easier: https://github.com/os72/protobuf-dynamic On Friday, May 6, 2016 at 5:00:26 PM UTC-7, Vinicius Carvalho wrote: > > Hi there, does protobuf has an equivalent of Avro's > checkReaderWriterCompatibility? Can I check if two .proto files would allow > match between versions? > > Also, Avro has GenericRecord as a container object to read any data in a > map like style, does protobuf has something similar? > > Regards > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.