Click or drag to resize
Grid Solutions Framework

SerializationExtensions Class

Defines extension methods for handling Kafka message serialization to and from time-series measurements.
Inheritance Hierarchy
SystemObject
  KafkaAdaptersSerializationExtensions

Namespace: KafkaAdapters
Assembly: KafkaAdapters (in KafkaAdapters.dll) Version: 2.4.207-beta
Syntax
public static class SerializationExtensions
View Source

The SerializationExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodDeriveQualityFlags Derive Kafka time-seres data quality flags from measurement state flags
Public Extension MethodDeriveStateFlags Derive measurement state flags from Kafka time-seres data quality flags
Public Extension MethodKafkaDeserialize Deserializes a Kafka message into a time-series Measurement.
Public Extension MethodKakfaSerialize Serializes a time-series IMeasurement instance into key-value buffers for a Kafka message.
Top
Fields
 NameDescription
Public fieldStatic memberDecodeVersion Defines the current message decoding version.
Public fieldStatic memberKeySize Defines the size of serialized Kafka measurement key.
Public fieldStatic memberValueSize Defines the size of serialized Kafka measurement value.
Top
Remarks
The goal of this serialization implementation is to make it very simple to deserialize Kafka time-series messages from other language implementations, such as C++ or Java.
See Also