confluent-kafka-dotnet
Show / Hide Table of Contents

Class SerdeConfig

Base functionality common to all configuration classes.

Inheritance
object
Config
SerdeConfig
AvroDeserializerConfig
AvroSerializerConfig
JsonDeserializerConfig
JsonSerializerConfig
ProtobufDeserializerConfig
ProtobufSerializerConfig
Implements
IEnumerable<KeyValuePair<string, string>>
IEnumerable
Inherited Members
Config.Set(string, string)
Config.Get(string)
Config.GetInt(string)
Config.GetBool(string)
Config.GetDouble(string)
Config.GetEnum(Type, string)
Config.SetObject(string, object)
Config.properties
Config.GetEnumerator()
Config.CancellationDelayMaxMs
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class SerdeConfig : Config, IEnumerable<KeyValuePair<string, string>>, IEnumerable

Constructors

SerdeConfig()

Initialize a new empty SerdeConfig instance.

Declaration
public SerdeConfig()

SerdeConfig(SerdeConfig)

Initialize a new SerdeConfig instance based on an existing SerdeConfig instance. This will change the values "in-place" i.e. operations on this class WILL modify the provided collection

Declaration
public SerdeConfig(SerdeConfig config)
Parameters
Type Name Description
SerdeConfig config

SerdeConfig(IDictionary<string, string>)

Initialize a new SerdeConfig wrapping an existing key/value dictionary. This will change the values "in-place" i.e. operations on this class WILL modify the provided collection

Declaration
public SerdeConfig(IDictionary<string, string> config)
Parameters
Type Name Description
IDictionary<string, string> config

Methods

GetDictionaryProperty(string)

Gets a configuration property as a dictionary value given a key.

Declaration
protected IDictionary<string, string> GetDictionaryProperty(string key)
Parameters
Type Name Description
string key

The configuration property to get.

Returns
Type Description
IDictionary<string, string>

The configuration property value.

SetDictionaryProperty(string, IDictionary<string, string>)

Set a configuration property as a dictionary value

Declaration
protected void SetDictionaryProperty(string key, IDictionary<string, string> value)
Parameters
Type Name Description
string key

The configuration property name.

IDictionary<string, string> value

Implements

IEnumerable<T>
IEnumerable
In this article