Class MessageMetadata
All components of Message<TKey, TValue> except Key and Value.
Inherited Members
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.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 |