You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Luca Del Grosso <lu...@gmail.com> on 2017/11/20 10:35:09 UTC
kafka schema registry problem
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.