Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Avro schema examples and documentation

Tags:

avro

I'm trying to define a less-than-trivial Avro schema with little success; when it won't throw schema syntax errors it will not produce all the types I'm trying to define in the schema.

Is there a complete specification of the possible contents of an avsc definition? I keep guessing from what I understand from the Doc spec but evidently it's not enough.

Best,

Edoardo

like image 330
Eddy Avatar asked Mar 05 '26 04:03

Eddy


1 Answers

I think I found it...

According this ML thread protocols can define multiple cross-referencing object types. Keeping this cue in mind the documentation does appear to say that an avsc (schema) can only contain one type definition.

like image 195
Eddy Avatar answered Mar 07 '26 04:03

Eddy