Re: [protobuf] can protobuf3 be used with protobuf2?

2020-02-03 Thread Mihir Thakkar
I am trying to use proto2 on client-side and proto3 on server-side. My schema files use extensions, and I am assuming this is still true so I cannot do it? Can anybody confirm? On Thursday, April 28, 2016 at 6:18:12 PM UTC-4, Feng Xiao wrote: > > > > On Tue, Apr 26, 2016 at 7:04 PM, Bo Gao > >

Re: [protobuf] com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has be

2020-02-03 Thread Marc Gravell
The most likely thing is that it was truncated during your transmission, meaning: a bug in your code that serializes and/or sends the data. Can we see any of that code? Note that you can use "protoc" (decode-raw) or https://protogen.marcgravell.com/decode to validate a payload for integrity. On Mo

[protobuf] com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been

2020-02-03 Thread Chetan M
I have a proto definition that has too many fields.I ended up just populating a couple of fields for test and sending them out but the consumer complains when parsing with the above message.Why is it so?I wouldn't be sending down messages with just 2-3 fields in production env but for testing I