Class DeliveryResult<TKey, TValue>
Encapsulates the result of a successful produce request.
Inherited Members
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.dll
Syntax
public class DeliveryResult<TKey, TValue>
Type Parameters
| Name | Description |
|---|---|
| TKey | |
| TValue |
Properties
Headers
The Kafka message headers.
Declaration
public Headers Headers { get; set; }
Property Value
| Type | Description |
|---|---|
| Headers |
Key
The Kafka message Key.
Declaration
public TKey Key { get; set; }
Property Value
| Type | Description |
|---|---|
| TKey |
Message
The Kafka message.
Declaration
public Message<TKey, TValue> Message { get; set; }
Property Value
| Type | Description |
|---|---|
| Message<TKey, TValue> |
Offset
The partition offset associated with the message.
Declaration
public Offset Offset { get; set; }
Property Value
| Type | Description |
|---|---|
| Offset |
Partition
The partition associated with the message.
Declaration
public Partition Partition { get; set; }
Property Value
| Type | Description |
|---|---|
| Partition |
Status
The persistence status of the message
Declaration
public PersistenceStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| PersistenceStatus |
Timestamp
The Kafka message timestamp.
Declaration
public Timestamp Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Topic
The topic associated with the message.
Declaration
public string Topic { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TopicPartition
The TopicPartition associated with the message.
Declaration
public TopicPartition TopicPartition { get; }
Property Value
| Type | Description |
|---|---|
| TopicPartition |
TopicPartitionOffset
The TopicPartitionOffset associated with the message.
Declaration
public TopicPartitionOffset TopicPartitionOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| TopicPartitionOffset |
Value
The Kafka message Value.
Declaration
public TValue Value { get; set; }
Property Value
| Type | Description |
|---|---|
| TValue |