Class AvroUtils
java.lang.Object
io.confluent.kafka.schemaregistry.avro.AvroUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AvroSchemaparseSchema(String schemaString) Convert a schema string into a schema object and a canonical schema string.
-
Constructor Details
-
AvroUtils
public AvroUtils()
-
-
Method Details
-
parseSchema
Convert a schema string into a schema object and a canonical schema string.- Returns:
- A schema object and a canonical representation of the schema string. Return null if there is any parsing error.
-