Adding more message types to the proto file is fine and has no compatibility issues. Can you say more about the error you're getting?
On Wed, Nov 2, 2022 at 7:03 AM Komal Kamble <[email protected]> wrote: > Hello ProtocolBufferSupport team, > > If I have a proto file with multiple sub-message types defined and If I > want to add more sub-message types in the same file I am getting BACKWARD > and FORWARD compatibility errors. > > I am using com.github.os72:protoc-jar-maven-plugin:3.11.4 plugin in java > module to compile proto files and kafka-protobuf-provider:6.1.6 for > ProtobufSchema object. > > The query is getting compatibility errors is it correct behavior or not? > > I didn't find any documentation in protocol-buffer user guide regarding > adding more sub-message types in the existing proto file. > > Could you please help me to understand the standard behavior of the > protocol buffer? > > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/protobuf/8373c01f-8e61-4469-80e5-82a859035f2dn%40googlegroups.com > <https://groups.google.com/d/msgid/protobuf/8373c01f-8e61-4469-80e5-82a859035f2dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/CADqAXr69P5-XtOn2XyZVh6Y3A9SG_d8mWfykwj_WPYw4hn45LQ%40mail.gmail.com.
