Click or drag to resize
Grid Solutions Framework

SerializationExtensionsKafkaDeserialize Method

Deserializes a Kafka message into a time-series Measurement.

Namespace: KafkaAdapters
Assembly: KafkaAdapters (in KafkaAdapters.dll) Version: 2.4.207-beta
Syntax
public static Measurement KafkaDeserialize(
	this Message message,
	out uint id,
	out byte metadataVersion
)
View Source

Parameters

message  Message
Time-series serialized Kafka message.
id  UInt32
Numeric ID of measurement deserialized from Kafka message.
metadataVersion  Byte
Message metadata serialization version.

Return Value

Measurement
Measurement value deserialized from a time-series serialized Kafka message.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Message. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also