Method CreateGeneric
CreateGeneric(AvroRegistryFraming, IAvroSchemaIdResolver, AvroSchema?, AvroRegistryReaderOptions?, GenericDatumReaderOptions?)
Creates a reader of messages in framing as generic values.
public static AvroRegistryMessageReader<AvroValue> CreateGeneric(AvroRegistryFraming framing, IAvroSchemaIdResolver resolver, AvroSchema? readerSchema = null, AvroRegistryReaderOptions? options = null, GenericDatumReaderOptions? readerOptions = null)
Parameters
framingAvroRegistryFramingThe registry's framing.
resolverIAvroSchemaIdResolverFinds each message's writer schema by its ID.
readerSchemaAvroSchemaThe schema to resolve every message to; null reads each as written.
optionsAvroRegistryReaderOptionsLimits, or null for the defaults.
readerOptionsGenericDatumReaderOptionsThe generic reader's options, or null for the defaults.