confluent-kafka-dotnet
Show / Hide Table of Contents

Class MessageMetadata

All components of Message<TKey, TValue> except Key and Value.

Inheritance
System.Object
MessageMetadata
Message<TKey, TValue>
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 MessageMetadata

Properties

Headers

The collection of message headers (or null). Specifying null or an empty list are equivalent. The order of headers is maintained, and duplicate header keys are allowed.

Declaration
public Headers Headers { get; set; }
Property Value
Type Description
Headers

Timestamp

The message timestamp. The timestamp type must be set to CreateTime. Specify Timestamp.Default to set the message timestamp to the time of this function call.

Declaration
public Timestamp Timestamp { get; set; }
Property Value
Type Description
Timestamp