hnail commented on pull request #8372:
URL: https://github.com/apache/pulsar/pull/8372#issuecomment-806391298
@fjod Hi , Your `rootMessageTypeName` is incorrect , set to
`nativeCheck.XXXMessage` , rootMessageTypeName must be **full path** ,
`nativeCheck` is your package path .
Simpler Test code :
```
String schemaDataBytes = "{\"fileDescriptorSet" +
"\":\"ClMKClRlc3QucHJvdG8SC25hdGl2ZUNoZWNrIjAKClhYWE1lc3NhZ2USEAoDZm9vGAEgASgJUgNmb28SEAoDYmFyGAIgASgBUgNiYXJiBnByb3RvMw==\",\"rootMessageTypeName\":\"nativeCheck.XXXMessage\",\"rootFileDescriptorName\":\"Test.proto\"}";
Descriptors.Descriptor descriptor =
ProtobufNativeSchemaUtils.deserialize(schemaDataBytes.getBytes());
System.out.println(descriptor);
```
It is works fine .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]