I have a use case to create Avro Schema with two string field but both the field would look similar,
- firstName
- first_name
These two are different field due to some legacy reason. The problem that I face now is that, on generating Java class I am getting the following exception,
method setFirstName(java.lang.String) is already defined in class
This is because the Avro maven plugin is trying to create two same setter method for each variable. For some legacy reason I can't fix it in the source end. Is there any option to handle this case in the Avro maven plugin level?
After referring to the code, it looks like the code handles only when two field are exact same except the first character, but in my case this conflict strategy is not recusing me.