|
SerializationExtensionsKafkaDeserialize Method
|
Deserializes a Kafka message into a time-series Measurement.
Namespace: KafkaAdaptersAssembly: KafkaAdapters (in KafkaAdapters.dll) Version: 2.4.218-beta
Syntax public static Measurement KafkaDeserialize(
this Message message,
out uint id,
out byte metadataVersion
)
KafkaAdapters.SerializationExtensions.KafkaDeserialize = function(message, id, metadataVersion);
View SourceParameters
- 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
MeasurementMeasurement 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