Table of Contents

Interface ISerDes

Namespace
MASES.KNet.Serialization
Assembly
MASES.KNet.dll

KNet common serializer/deserializer

public interface ISerDes : IDisposable
Inherited Members

Properties

IsDirectBuffered

Set to true in implementing class if the implementation uses the support of direct buffer data exchange

bool IsDirectBuffered { get; }

Property Value

bool

Remarks

If set to true, the KNet classes will use ByteBufferSerializer and ByteBufferDeserializer as backing JVM classes

JVMDeserializerClass

Returns the JVM deserializer Class associated to this ISerDes instance

Class JVMDeserializerClass { get; }

Property Value

Class

JVMDeserializerClassName

Returns the deserializer class name to be used

string JVMDeserializerClassName { get; }

Property Value

string

JVMSerDesClass

Returns the JVM serdes Class associated to this ISerDes instance

Class JVMSerDesClass { get; }

Property Value

Class

JVMSerDesClassName

Returns the serdes class name to be used

string JVMSerDesClassName { get; }

Property Value

string

JVMSerializerClass

Returns the JVM serializer Class associated to this ISerDes instance

Class JVMSerializerClass { get; }

Property Value

Class

JVMSerializerClassName

Returns the serializer class name to be used

string JVMSerializerClassName { get; }

Property Value

string

JVMType

The Type, representing the JVM type, managed from this ISerDes instance

Type JVMType { get; }

Property Value

Type

Type

The Type managed from this ISerDes instance

Type Type { get; }

Property Value

Type

UseHeaders

true if Headers are used

bool UseHeaders { get; set; }

Property Value

bool

UseKafkaClassForSupportedTypes

Set to true in implementing class if the implementation shall use the serializer of Apache Kafka, default is false

bool UseKafkaClassForSupportedTypes { get; set; }

Property Value

bool

Remarks

When this option is set to true there is better compatibility with data managed from Apache Kafka, but there is a performance impact