Class AvroDeserializerConfig
AvroDeserializer<T> configuration properties.
Inherited Members
Namespace: Confluent.SchemaRegistry.Serdes
Assembly: Confluent.SchemaRegistry.Serdes.Avro.dll
Syntax
public class AvroDeserializerConfig : SerdeConfig, IEnumerable<KeyValuePair<string, string>>, IEnumerableConstructors
AvroDeserializerConfig()
Initialize a new AvroDeserializerConfig.
Declaration
public AvroDeserializerConfig()AvroDeserializerConfig(IEnumerable<KeyValuePair<string, string>>)
Initialize a new AvroDeserializerConfig from the provided key/value pair collection.
Declaration
public AvroDeserializerConfig(IEnumerable<KeyValuePair<string, string>> config)Parameters
| Type | Name | Description | 
|---|---|---|
| IEnumerable<KeyValuePair<string, string>> | config | 
Properties
SchemaIdStrategy
Schema id strategy.
default: SchemaIdDeserializerStrategy.Dual
Declaration
public SchemaIdDeserializerStrategy? SchemaIdStrategy { get; set; }Property Value
| Type | Description | 
|---|---|
| SchemaIdDeserializerStrategy? | 
SubjectNameStrategy
Subject name strategy.
default: SubjectNameStrategy.Topic
Declaration
public SubjectNameStrategy? SubjectNameStrategy { get; set; }Property Value
| Type | Description | 
|---|---|
| SubjectNameStrategy? | 
UseLatestVersion
Specifies whether or not the Avro deserializer should use the latest subject version for serialization. WARNING: There is no check that the latest schema is backwards compatible with the schema of the object being serialized.
default: false
Declaration
public bool? UseLatestVersion { get; set; }Property Value
| Type | Description | 
|---|---|
| bool? | 
UseLatestWithMetadata
Specifies whether or not the Avro deserializer should use the latest subject version with the given metadata for serialization. WARNING: There is no check that the latest schema is backwards compatible with the schema of the object being serialized.
Declaration
public IDictionary<string, string> UseLatestWithMetadata { get; set; }Property Value
| Type | Description | 
|---|---|
| IDictionary<string, string> |