Hi Guowei,
                 How does the nested protobuf will be handled?  Lets say
protobuf A embeds B do we register both of the schemas in the schema
registry in single schema?

On Wed, 28 Oct 2020 at 20:02, 王国伟 <wangguowei_1...@126.com> wrote:

>     ProtobufNative Schema Support proposes to import a new protobuf-v3
> schema based on protobuf native Descriptor, Current  `ProtobufSchema` is
> based on AVRO schema,  this Causes the following restrictions :
>
> ProtobufSchema based on  avro-protobuf only works only when JVM
> classloader can load `Java implementation class of GeneratedMessageV3` .
> this is unfriendly  for Long-Running server ( e.g. Presto ), restart server
> for update class is unfriendly.
> Avro schema describe protoSchema have losses , so based `ProtobufSchema`
> can’t support `AutoConsume` for `DynamicMessage`.
> The amount of support avro language is less than support protobuf language
> .
>     In consideration of backward compatibility , we add a new type
> `SchemaType.PROTOBUF_NATIVE` base on protobuf-v3 native Descriptor instead
> of modify SchemaType.PROTOBUF, aim to support `GenericProtobufNativeSchema`
> and `AutoConsumeSchema` for PROTOBUF :
>
>
>
> GOOGLE-DOC :
> https://docs.google.com/document/d/1XR_MNOuSXyig-CKsdVhr6IXvFwziBRdSoS3oEUiLFe8/edit#
>
> PrototypeCode : https://github.com/apache/pulsar/pull/8372
>
>
>

-- 
*Thanks*

*Yuvaraj L*

Reply via email to