# Setup tab

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

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/pAzzVzwCU5XRZ9ANZ1SU">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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
