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.DynBridgeInstanceIJVMBridgeBase.BridgeInstanceIJVMBridgeDefinition.BridgeClassNameIJVMBridgeDefinition.IsBridgeInterfaceIJVMBridgeDefinition.IsBridgeAbstractIJVMBridgeDefinition.IsBridgeStaticIJVMBridgeDefinition.IsBridgeCloseableIJVMBridgeDefinition.IsBridgeListener
Methods
Deserialize(String, Headers, byte[])
Executes the Deserializer action in the CLR
T Deserialize(String topic, Headers headers, byte[] data)
Parameters
topic
Stringtopic associated with the data
headers
HeadersHeaders 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
Stringtopic 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