Hi
i have a problem, i would like to create an avro schema on schema registry
of kafka that references a type that is declared in a different avro
schema, the places under an example:

First avro schema with reference UserAction

{"namespace": "com.myorg.other",
 "type": "record",
 "name": "SearchSuggest",
 "fields": [
     {"name": "name", "type": "string"},
     {"name": "userAction", "type": "UserAction"}
 ]
}

second avro schema with enum:

{"namespace": "com.myorg.other",
 "type": "enum",
 "name": "UserAction",
 "symbols": ["S", "V", "C"]
}

This work in my maven project, but when i try create this on schema
registry, it's invalid.

Reply via email to