Interface ISerializer<T>
- Namespace
- Org.Apache.Kafka.Common.Serialization
- Assembly
- MASES.KNet.dll
Listener for Kafka Serializer. Extends Serializer
public interface ISerializer<T> : ISerializer, 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
Serialize(String, Headers, T)
Executes the Serializer action in the CLR
byte[] Serialize(String topic, Headers headers, T data)
Parameters
topic
Stringtopic associated with the data
headers
HeadersHeaders associated with the record; may be empty.
data
TT
data
Returns
- byte[]
serialized bytes
Serialize(String, T)
Executes the Serializer action in the CLR
byte[] Serialize(String topic, T data)
Parameters
topic
Stringtopic associated with the data
data
TT
data
Returns
- byte[]
serialized bytes