Sure.

https://github.com/mnarrell/avro-string-hell

On Fri, Mar 25, 2016 at 8:09 PM Sean Busbey <[email protected]> wrote:

> could you make a small maven project that reproduces the issue?
>
> On Fri, Mar 25, 2016 at 5:24 PM, Matt Narrell <[email protected]>
> wrote:
>
>> 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?
>>
>
>
>
> --
> busbey
>

Reply via email to