KafkaSource<TOutput>.DefaultRowDeserializer

Class KafkaSource<TOutput>.DefaultRowDeserializer

Inheritance
KafkaSource<TOutput>.DefaultRowDeserializer
Implements
IDeserializer<TOutput>
Namespace: ETLBox.Apache.Kafka.KafkaSource`1
Assembly: ETLBox.Apache.Kafka.dll
Syntax
    public class KafkaSource<TOutput>.DefaultRowDeserializer : IDeserializer<TOutput>

Methods

Deserialize(ReadOnlySpan<byte>, bool, SerializationContext)

Deserialize a message key or value.

Declaration
    public TOutput Deserialize(ReadOnlySpan<byte> data, bool isNull, SerializationContext context)
Parameters
TypeNameDescription
ReadOnlySpan<byte>data

The data to deserialize.

boolisNull

Whether or not the value is null.

SerializationContextcontext

Context relevant to the deserialize operation.

Returns
TypeDescription
TOutput

The deserialized value.

Implements

Confluent.Kafka.IDeserializer<T>