|
SerializationExtensionsKakfaSerialize Method
|
Serializes a time-series IMeasurement instance into key-value buffers for a Kafka message.
Namespace: KafkaAdaptersAssembly: KafkaAdapters (in KafkaAdapters.dll) Version: 2.4.207-beta
Syntax public static void KakfaSerialize(
this IMeasurement measurement,
Message message,
byte metadataVersion
)
<ExtensionAttribute>
Public Shared Sub KakfaSerialize (
measurement As IMeasurement,
message As Message,
metadataVersion As Byte
)
[<ExtensionAttribute>]
static member KakfaSerialize :
measurement : IMeasurement *
message : Message *
metadataVersion : byte -> unit
KafkaAdapters.SerializationExtensions.KakfaSerialize = function(measurement, message, metadataVersion);
View SourceParameters
- measurement IMeasurement
- IMeasurement instance to serialize.
- message Message
- Kafka message to hold serialized key-value buffers.
- metadataVersion Byte
- Current metadata serialization version.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IMeasurement. 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