Class Message<TKey, TValue>
Represents a (deserialized) Kafka message.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Confluent.Kafka
Assembly: cs.temp.dll.dll
Syntax
public class Message<TKey, TValue> : MessageMetadata
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
Properties
Key
Gets the message key value (possibly null).
Declaration
public TKey Key { get; set; }
Property Value
Type | Description |
---|---|
TKey |
Value
Gets the message value (possibly null).
Declaration
public TValue Value { get; set; }
Property Value
Type | Description |
---|---|
TValue |