> 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/9.3-data-integration/pdi-transformation-steps-reference-overview/kafka-consumer/options-kafka-consumer/setup-tab.md).

# Setup tab

![Kafka consumer Setup tab](/files/K2oaBxZ0Ld3bPU5Ggnzi)

In this tab, define the connections used for receiving messages, topics to which you want to subscribe, and the consumer group for the topics.

| Option             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**     | <p>Select a connection type:</p><ul><li><strong>Direct</strong></li></ul><p>Specify the <strong>Bootstrap servers</strong> from which you want to receive the Kafka streaming data.</p><ul><li><strong>Cluster</strong></li></ul><p>Specify the <strong>Hadoop cluster</strong> configuration from which you want to retrieve the Kafka streaming data. In a Hadoop cluster configuration, you can specify information like host names and ports for HDFS, Job Tracker, security, and other big data cluster components. Multiple servers can be specified if these are part of the same cluster. For information on Hadoop clusters, see <a href="/pages/UpWasFsPHdivvoDvndrN">Connecting to a Hadoop cluster with the PDI client</a>.</p> |
| **Topics**         | Enter the name of each Kafka topic from which you want to consume streaming data (messages). You must include all topics that you want to consume.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Consumer group** | <p>Enter the name of the group of which you want this consumer to be a member. Each Kafka consumer step starts a single thread for consuming.</p><p>When part of a consumer group, each consumer is assigned a subset of the partitions from topics it has subscribed to, which locks those partitions. Each instance of a Kafka consumer step will only run a single consumer thread.</p>                                                                                                                                                                                                                                                                                                                                                  |


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
