SchemaRegistryDeserializerBuilder constructor

SchemaRegistryDeserializerBuilder(ISchemaRegistryClient, IBinaryDeserializerBuilder, IJsonSchemaReader)Initializes a new instance of the SchemaRegistryDeserializerBuilder class with a Schema Registry instance.
SchemaRegistryDeserializerBuilder(IEnumerable<KeyValuePair<string>>, IBinaryDeserializerBuilder, IJsonSchemaReader)Initializes a new instance of the SchemaRegistryDeserializerBuilder class with a Schema Registry configuration.

SchemaRegistryDeserializerBuilder(ISchemaRegistryClient, IBinaryDeserializerBuilder, IJsonSchemaReader)

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

ISchemaRegistryClient registryClient
A Schema Registry client to use for Registry operations. (The client will not be disposed.)
IBinaryDeserializerBuilder deserializerBuilder
A deserializer builder instance that should be used to generate deserialization functions for .NET Types. If none is provided, the default BinaryDeserializerBuilder will be used.
IJsonSchemaReader schemaReader
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

ArgumentNullException
Thrown when is null.

SchemaRegistryDeserializerBuilder(IEnumerable<KeyValuePair<string>>, IBinaryDeserializerBuilder, IJsonSchemaReader)

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

IEnumerable<KeyValuePair<string>> registryConfiguration
A Schema Registry configuration. Using the SchemaRegistryConfig class is highly recommended.
IBinaryDeserializerBuilder deserializerBuilder
A deserializer builder instance that should be used to generate deserialization functions for .NET Types. If none is provided, the default BinaryDeserializerBuilder will be used.
IJsonSchemaReader schemaReader
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.
Chr.Avro