Is it possible to write custom meta-field with the C-API?
I tried this:
{
"type" : "record",
"name" : "MySchema",
"namespace": "org.my",
"aliases": ["Cerberus_address"],
"doc": "MYSCHEMA_V1",
"my.version": "v1",
"fields" : [
{ "name": "name", "type": "string" }
}
And write a record with the C-API (v1.7.7) I only get this:
java -jar /opt/avro/avro-tools-1.7.7.jar getmeta test.avro
avro.codec null
avro.schema
{"type":"record","name":"MySchema","namespace":"org.my","fields":[{"name":"name","type":{"type":"string"}]}]}
Alan