confluent-kafka-dotnet
Show / Hide Table of Contents

Class ProtobufDeserializerConfig

ProtobufDeserializer<T> configuration properties.

Inheritance
object
Config
SerdeConfig
ProtobufDeserializerConfig
Implements
IEnumerable<KeyValuePair<string, string>>
IEnumerable
Inherited Members
SerdeConfig.GetDictionaryProperty(string)
SerdeConfig.SetDictionaryProperty(string, IDictionary<string, string>)
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.Serdes
Assembly: Confluent.SchemaRegistry.Serdes.Protobuf.dll
Syntax
public class ProtobufDeserializerConfig : SerdeConfig, IEnumerable<KeyValuePair<string, string>>, IEnumerable

Constructors

ProtobufDeserializerConfig()

Initialize a new ProtobufDeserializerConfig.

Declaration
public ProtobufDeserializerConfig()

ProtobufDeserializerConfig(IEnumerable<KeyValuePair<string, string>>)

Initialize a new ProtobufDeserializerConfig from the provided key/value pair collection.

Declaration
public ProtobufDeserializerConfig(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?

UseDeprecatedFormat

Specifies whether the Protobuf deserializer should deserialize message indexes without zig-zag encoding.

default: false

Declaration
public bool? UseDeprecatedFormat { get; set; }
Property Value
Type Description
bool?

UseLatestVersion

Specifies whether or not the Protobuf 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 Protobuf 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>

Implements

IEnumerable<T>
IEnumerable
In this article