Table of Contents

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

Methods

Serialize(String, Headers, T)

Executes the Serializer action in the CLR

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

Parameters

topic String

topic associated with the data

headers Headers

Headers associated with the record; may be empty.

data T

T data

Returns

byte[]

serialized bytes

Serialize(String, T)

Executes the Serializer action in the CLR

byte[] Serialize(String topic, T data)

Parameters

topic String

topic associated with the data

data T

T data

Returns

byte[]

serialized bytes