SchemaRegistryDeserializerBuilder
constructor
Initializes a new instance of the
SchemaRegistryDeserializerBuilder
class with a Schema Registry instance.
Signature | public SchemaRegistryDeserializerBuilder (Confluent.SchemaRegistry.ISchemaRegistryClient registryClient, Chr.Avro.Serialization.IBinaryDeserializerBuilder deserializerBuilder = default, Chr.Avro.Representation.IJsonSchemaReader schemaReader = default);
|
---|
Parameters
A Schema Registry client to use for Registry operations. (The client will not be
disposed.)
A deserializer builder instance that should be used to generate deserialization
functions for .NET
Type
s. If none is provided, the default
BinaryDeserializerBuilder
will be used.
A schema reader instance that should be used to convert schemas received from the
Registry into abstract representations. If none is provided, the default
JsonSchemaReader
will be used.
Exceptions
Thrown when is null.
Initializes a new instance of the
SchemaRegistryDeserializerBuilder
class with a Schema Registry configuration.
Signature | public SchemaRegistryDeserializerBuilder (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> registryConfiguration, Chr.Avro.Serialization.IBinaryDeserializerBuilder deserializerBuilder = default, Chr.Avro.Representation.IJsonSchemaReader schemaReader = default);
|
---|
Parameters
A Schema Registry configuration. Using the
SchemaRegistryConfig
class is
highly recommended.
A deserializer builder instance that should be used to generate deserialization
functions for .NET
Type
s. If none is provided, the default
BinaryDeserializerBuilder
will be used.
A schema reader instance that should be used to convert schemas received from the
Registry into abstract representations. If none is provided, the default
JsonSchemaReader
will be used.