Method CreateGeneric
CreateGeneric(IAvroSchemaResolver, AvroSchema?, GenericDatumReaderOptions?)
Creates a reader of messages as generic values.
public static AvroMessageReader<AvroValue> CreateGeneric(IAvroSchemaResolver resolver, AvroSchema? readerSchema = null, GenericDatumReaderOptions? readerOptions = null)
Parameters
resolverIAvroSchemaResolverFinds each message's writer schema.
readerSchemaAvroSchemaThe schema to resolve every message to; null reads each as written.
readerOptionsGenericDatumReaderOptionsThe generic reader's options, or null for the defaults.