registry icon indicating copy to clipboard operation
registry copied to clipboard

Support configuration of custom GenericData/SpecificData instances

Open ivangreene opened this issue 5 years ago • 0 comments

Some Avro users may wish to extend GenericData/SpecificData, for example to configure a set of logical type conversions or to add handling for custom types.

Many Avro methods and class constructors used during ser/des optionally allow passing a specific instance of GenericData or SpecificData (e.g, the constructors of {Generic,Specific}Datum{Reader,Writer}). We should take advantage of this and allow the user of schema registry to configure a supplier of Generic/SpecificData instances, which would default to Generic/SpecificData.get()

ivangreene avatar Apr 28 '19 16:04 ivangreene