> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-vector.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# upstash_kafka_cluster_data

<RequestExample>
  ```hcl example.tf
  data "upstash_kafka_cluster_data" "clusterData" {
    cluster_id = resource.upstash_kafka_cluster.exampleCluster.cluster_id
  }

  ```
</RequestExample>

## Schema

### Required

<ParamField query="cluster_id" type="string" required>
  Unique Cluster ID for requested cluster
</ParamField>

### Read-Only

<ResponseField name="cluster_name" type="string">
  Name of the cluster
</ResponseField>

<ResponseField name="creation_time" type="number">
  Creation time of the cluster
</ResponseField>

<ResponseField name="id" type="string">
  The ID of this resource.
</ResponseField>

<ResponseField name="max_message_size" type="number">
  Max Message Size for the cluster
</ResponseField>

<ResponseField name="max_messsages_per_second" type="number">
  Max Messages Per Second for the cluster
</ResponseField>

<ResponseField name="max_partitions" type="number">
  Max Partitions for the cluster
</ResponseField>

<ResponseField name="max_retention_size" type="number">
  Max Retention Size of the cluster
</ResponseField>

<ResponseField name="max_retention_time" type="number">
  Max Retention Time of the cluster
</ResponseField>

<ResponseField name="multizone" type="bool">
  Whether multizone replication is enabled
</ResponseField>

<ResponseField name="password" type="string">
  Password for the cluster
</ResponseField>

<ResponseField name="region" type="string">
  Region of the cluster. Possible values (may change) are: `eu-west-1`,
  `us-east-1`
</ResponseField>

<ResponseField name="rest_endpoint" type="string">
  Name of the cluster
</ResponseField>

<ResponseField name="state" type="string">
  Current state of the cluster

  <br />

  Possible values: `active` or `deleted`
</ResponseField>

<ResponseField name="tcp_endpoint" type="string">
  TCP Endpoint of the cluster
</ResponseField>

<ResponseField name="type" type="string">
  Type of the cluster
</ResponseField>

<ResponseField name="username" type="string">
  Base64 encoded username for the cluster
</ResponseField>
