confluent-kafka-dotnet
Show / Hide Table of Contents

Class Message<TKey, TValue>

Represents a (deserialized) Kafka message.

Inheritance
object
MessageMetadata
Message<TKey, TValue>
Inherited Members
MessageMetadata.Timestamp
MessageMetadata.Headers
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.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
In this article