goavro
goavro copied to clipboard
Error Type
"error" is a valid type according to the Avro Schema document and IDL.
https://avro.apache.org/docs/current/spec.html#Protocol+Declaration https://avro.apache.org/docs/current/idl.html#format_records
{
"type" : "error",
"name" : "Exception",
"namespace" : "com.example",
"doc" : "Struct that contains error information",
"fields" : [ ],
}
So it is. I do not think the error type is supported under the earlier release of the spec. We definitely need to add this to stay current with the continually evolving Avro specification.