Hi All,
I am trying to use enum type in avro schema but avro maven plugin fails
with below error. I see that enum type is supported based on documentation
.Appreciate your help.
[ERROR] Failed to execute goal
org.apache.avro:avro-maven-plugin:1.8.2:schema (default) on project
settlement-model: Execution default of goal
org.apache.avro:avro-maven-plugin:1.8.2:schema failed: "enum" is not a
defined name. The type of the "Colors" field must be a defined name or a
{"type": ...}.
{ "type" : "enum",
"name" : "Colors",
"doc" : "Colors supported by the palette.",
"symbols" : ["WHITE", "BLUE", "GREEN", "RED", "BLACK"]},