the inline record
{
"type": "record",
"name": "Foo",
"namespace": "com.example",
"fields": [
{
"name": "foo_string",
"type": "string"
}
]
}
the record:
{
"type": "record",
"name": "Bar",
"namespace": "com.example",
"fields": [
{
"name": "foo",
"type": "com.example.Foo"
}
]
}
Getting an error:
Failed to add schema ‘com.example.Bar’ with error: {“error”:{“code”:”InvalidRequest”,”message”:”Avro schema validation failed: Undefined name: com.example.Foo at ‘fields[0].type’. TrackingId:ebe0a8ba-d77d-4888-b50a-76d7ca2be3bc_G0, …}}