> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/kafka-consumer/options-kafka-consumer/fields-tab.md).

# Fields tab

![Kafka consumer Fields tab](https://2745965000-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvZoINBz5C5WnDZQlbOJQ%2Fuploads%2Fgit-blob-f4f6da922b04462ab9bf0a3eb43b6dc94cb6ac97%2FPDI%20Kafka%20consumer%20Fields%20tab.png?alt=media)

Use this tab to define the fields in the record format.

| Option          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Input name**  | <p>The input name is received from the Kafka streams. The following are received by default:</p><ul><li><strong>key</strong></li></ul><p>Determines message distribution to partitions. If no key is present, messages are randomly distributed from partitions.</p><ul><li><strong>message</strong></li></ul><p>The individual message contained in a record. Each record consists of a key, a value, and a timestamp.</p><ul><li><strong>topic</strong></li></ul><p>The category to which records are published.</p><ul><li><strong>partition</strong></li></ul><p>An ordered sequence of records that is continuously appended. You cannot have more consumers than the number of partitions.</p><ul><li><strong>offset</strong></li></ul><p>A sequential ID number assigned to each record. It uniquely identifies each record within the partition.</p><ul><li><strong>timestamp</strong></li></ul><p>The time the message is received on the server.</p> |
| **Output name** | The **Output name** can be mapped to subscriber and member requirements.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Type**        | <p>The <strong>Type</strong> field defines the data format for streaming the record. You must choose the same data type that produced the records. This field applies to the key and message input names. Options include:</p><ul><li>String</li><li>Boolean</li><li>Number</li><li>Integer</li><li>Binary</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/kafka-consumer/options-kafka-consumer/fields-tab.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
