confluent-kafka-dotnet
Show / Hide Table of Contents

Namespace Confluent.SchemaRegistry.Serdes

Classes

AvroDecimalExtensions

Lossless conversions between Avro's AvroDecimal and the core BigDecimal.

AvroDeserializerBuilder<T>

EXPERIMENTAL: subject to change or removal.

A builder of AvroDeserializer<T> instances, for use with SetValueDeserializerBuilder(IAsyncDeserializerBuilder<TValue>) and its key counterpart.

The consumer constructs the deserializer during its own construction, supplying its configuration and whether the deserializer is for the message key or value, and owns the result. There is no need to adapt the deserializer with AsSyncOverAsync() - the consumer does so itself.

AvroDeserializerConfig

AvroDeserializer<T> configuration properties.

AvroDeserializerConfig.PropertyNames

Configuration property names specific to AvroDeserializer<T>.

AvroDeserializer<T>

(async) Avro deserializer. Use this deserializer with GenericRecord, types generated using the avrogen.exe tool or one of the following primitive types: int, long, float, double, boolean, string, byte[].

AvroSerializerBuilder<T>

EXPERIMENTAL: subject to change or removal.

A builder of AvroSerializer<T> instances, for use with SetValueSerializerBuilder(IAsyncSerializerBuilder<TValue>) and its key counterpart.

The producer constructs the serializer during its own construction, supplying its configuration and whether the serializer is for the message key or value, and owns the result.

AvroSerializerConfig

AvroSerializer<T> configuration properties.

AvroSerializerConfig.PropertyNames

Configuration property names specific to AvroSerializer<T>.

AvroSerializer<T>

(async) Avro serializer. Use this serializer with GenericRecord, types generated using the avrogen.exe tool or one of the following primitive types: int, long, float, double, boolean, string, byte[].

AvroUtils

Avro utilities

DecimalExtensions

Protobuf decimal extensions

JsonDeserializerBuilder<T>

EXPERIMENTAL: subject to change or removal.

A builder of JsonDeserializer<T> instances, for use with SetValueDeserializerBuilder(IAsyncDeserializerBuilder<TValue>) and its key counterpart.

The consumer constructs the deserializer during its own construction, supplying its configuration and whether the deserializer is for the message key or value, and owns the result. There is no need to adapt the deserializer with AsSyncOverAsync() - the consumer does so itself.

JsonDeserializerConfig

JsonDeserializer<T> configuration properties.

JsonDeserializerConfig.PropertyNames

Configuration property names specific to JsonDeserializer<T>.

JsonDeserializer<T>

(async) JSON deserializer.

JsonSchemaResolver

JSON Schema Resolver.

JsonSerializerBuilder<T>

EXPERIMENTAL: subject to change or removal.

A builder of JsonSerializer<T> instances, for use with SetValueSerializerBuilder(IAsyncSerializerBuilder<TValue>) and its key counterpart.

The producer constructs the serializer during its own construction, supplying its configuration and whether the serializer is for the message key or value, and owns the result.

JsonSerializerConfig

JsonSerializer<T> configuration properties.

JsonSerializerConfig.PropertyNames

Configuration property names specific to JsonSerializer<T>.

JsonSerializer<T>

JSON Serializer.

JsonUtils

JSON Schema utilities

ProtobufDeserializerBuilder<T>

EXPERIMENTAL: subject to change or removal.

A builder of ProtobufDeserializer<T> instances, for use with SetValueDeserializerBuilder(IAsyncDeserializerBuilder<TValue>) and its key counterpart.

The consumer constructs the deserializer during its own construction, supplying its configuration and whether the deserializer is for the message key or value, and owns the result. There is no need to adapt the deserializer with AsSyncOverAsync() - the consumer does so itself.

ProtobufDeserializerConfig

ProtobufDeserializer<T> configuration properties.

ProtobufDeserializerConfig.PropertyNames

Configuration property names specific to ProtobufDeserializer<T>.

ProtobufDeserializer<T>

(async) Protobuf deserializer.

ProtobufSerializerBuilder<T>

EXPERIMENTAL: subject to change or removal.

A builder of ProtobufSerializer<T> instances, for use with SetValueSerializerBuilder(IAsyncSerializerBuilder<TValue>) and its key counterpart.

The producer constructs the serializer during its own construction, supplying its configuration and whether the serializer is for the message key or value, and owns the result.

ProtobufSerializerConfig

ProtobufSerializer<T> configuration properties.

ProtobufSerializerConfig.PropertyNames

Configuration property names specific to ProtobufSerializer<T>.

ProtobufSerializer<T>

Protobuf Serializer.

VariantLogicalType

The Avro variant logical type: a record of two bytes fields (metadata, value) carrying a Spark/Parquet Variant. A field with this logical type decodes to / encodes from a Variant, so serde consumers and CEL rules see a first-class Variant. The Avro serializer and deserializer register it automatically via EnsureRegistered(). This is the .NET counterpart of Java's io.confluent.avro.type.VariantConversion.

Enums

SerdeType

Enumeration of serde types recognized by the Avro ProduceAsync and Produce methods.

In this article