Table of Contents

Interface IDeserializer<T>

Namespace
Org.Apache.Kafka.Common.Serialization
Assembly
MASES.KNet.dll

Listener for Kafka Deserializer. Extends Deserializer

public interface IDeserializer<T> : IDeserializer, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

T

The data associated to the event

Inherited Members
IJVMBridgeBase.MonitorEnter()
IJVMBridgeBase.MonitorExit()
IJVMBridgeBase.IsInstanceOf(IJavaType)
IJVMBridgeBase.IsInstanceOf<T>()
IJVMBridgeBase.RuntimeIsInstanceOf<T>()
IJVMBridgeBase.CastTo<TNewClass>()
IJVMBridgeBase.CastDirect<TNewClass>()
IJVMBridgeBase.DynBridgeInstance
IJVMBridgeBase.BridgeInstance
IJVMBridgeDefinition.BridgeClassName
IJVMBridgeDefinition.IsBridgeInterface
IJVMBridgeDefinition.IsBridgeAbstract
IJVMBridgeDefinition.IsBridgeStatic
IJVMBridgeDefinition.IsBridgeCloseable
IJVMBridgeDefinition.IsBridgeListener

Methods

Deserialize(String, Headers, byte[])

Executes the Deserializer action in the CLR

T Deserialize(String topic, Headers headers, byte[] data)

Parameters

topic String

topic associated with the data

headers Headers

Headers associated with the record; may be empty.

data byte[]

serialized bytes; may be null; implementations are recommended to handle null by returning a value or null rather than throwing an exception

Returns

T

The deserialized T

Deserialize(String, byte[])

Executes the Deserializer action in the CLR

T Deserialize(String topic, byte[] data)

Parameters

topic String

topic associated with the data

data byte[]

serialized bytes; may be null; implementations are recommended to handle null by returning a value or null rather than throwing an exception

Returns

T

The deserialized T