(apache avro 1.8.2, avro-maven-plugin 1.8.2)
I'm having problem with avro:schema.
I declared a field like under below
{
"name": "type",
"type": {
"type": "string",
"avro.java.string": "java.lang.String"
}
},
but avro:schema converts like
@Deprecated public java.lang.CharSequence type;
...
public OptionDetail(..., java.lang.CharSequence type, ...) {
...
this.type = type;
...
}
What I tried:
"avro.java.string": "java.lang.String"
- (pom.xml, )
<stringType>String</stringType>
Both of above doesn't work properly. Please let me know what should I try more. Thanks.