avro
avro copied to clipboard
allow non-record types at top level
Currently the top level type for generated code must be a record. It would be good if it could be other types too (most importantly a union type). The main issue is how the generate command line should work for this.
Any update on this, we are unable to serialize unions at the top level. The topic we are writing to accepts a union as described here.