KafkaRecords
are produced by Kafka Collections Agentscollections agents, and consumed by Kafka Forwarding Agentsforwarding agents.
Field | Description |
---|---|
| An optional field for user-defined information. |
| Automatically populated if an error occurs during forwarding of the message. |
| An optional list of headers. |
| An optional field for the key. |
|
A read-only field with the offset of the collected message. |
|
A read-only field indicating how many records are left to send. | |
| The partition the message was collected from |
or will be forwarded to. |
Automatically set. | |
| The |
collection or forwarding time which is set automatically. | |
| The topic the message was collected from |
or will be forwarded to |
. |
| The contents of the message. |
Note!
When forwarding a message to Kafka, all fields are optional, except for topic and value.