# Setup tab

![Kafka consumer Setup tab](https://3411831820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAYwCj9fPr1B2pjC11IOQ%2Fuploads%2Fgit-blob-0e4352ab7e113a9b548ff5c13859fa2a45b74473%2FPDI%20Kafka%20consumer%20setup%20tab.png?alt=media)

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="../../../advanced-topics-pentaho-data-integration-overview/connecting-to-a-hadoop-cluster-with-the-pdi-client-article">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>                                                                                                                                                                                                                                                                                                                                                                                                                                            |
