avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Narrell <matt.narr...@gmail.com>
Subject avro.java.string
Date Fri, 25 Mar 2016 22:24:54 GMT
Avro and avro-maven-plugin 1.7.7

No matter what I do, I'm unable to get this feature to work.  I've
exhausted my Google skills and continue to be unsuccessful.  I'm looking
here:

http://stackoverflow.com/questions/25118727/how-to-generate-fields-of-type-string-instead-of-charsequence-using-avro
https://issues.apache.org/jira/browse/AVRO-803

I have a simple field in my schema like this:

{
    "name": "simple",
    "type": {
        "type": "string",
        "avro.java.string": "String"
    }
}

However, this consistently yields:
@Deprecated public java.lang.CharSequence simple;

I'm not able to use the <stringType> configuration of the plugin as this
project holds all of the Avro schemas for our organization, and cannot
suffer a change that wide.

Am I missing something obvious?

Mime
View raw message