Class ProtobufSchemaParser


  • public class ProtobufSchemaParser
    extends Object
    Utility class to parse the Protobuf schemas using square and apicurio library.
    • Constructor Detail

      • ProtobufSchemaParser

        public ProtobufSchemaParser()
    • Method Detail

      • parse

        public static com.google.protobuf.Descriptors.FileDescriptor parse​(String schemaDefinition,
                                                                           String protoFileName)
                                                                    throws com.google.protobuf.Descriptors.DescriptorValidationException
        Throws:
        com.google.protobuf.Descriptors.DescriptorValidationException