Problem: We want to read some data using Avro evolution mechanism for field renaming. Current behavior is to use the property name, serial name, or avro name only which does not account for AvroAlias annotation.
Proposed solution: fieldValue() function iterates through list of possible field names, starting with the resolvedFieldName. For each attempt, if non-null value returned from record.get(...) then return it, else continue.
Problem: We want to read some data using Avro evolution mechanism for field renaming. Current behavior is to use the property name, serial name, or avro name only which does not account for AvroAlias annotation.
Proposed solution: fieldValue() function iterates through list of possible field names, starting with the resolvedFieldName. For each attempt, if non-null value returned from record.get(...) then return it, else continue.