| page_title | cozystack_kafka Data Source - cozystack |
|---|---|
| subcategory | |
| description | Read an existing Cozystack Kafka cluster by name and namespace. |
Read an existing Cozystack Kafka cluster by name and namespace.
data "cozystack_kafka" "events" {
name = "events"
namespace = "tenant-root"
}name(String) Kafka instance name.namespace(String) Tenant namespace.
chart_version(String) Deployed chart version.external(Boolean) Whether external access is enabled.id(String) Synthetic identifiernamespace/name.kafka(Attributes) Kafka broker configuration. (see below for nested schema)ready(Boolean) Whether the application'sReadycondition is true.tls(Attributes) TLS configuration for the external listener. (see below for nested schema)topics(Attributes List) Provisioned topics. (see below for nested schema)uid(String) Server-assigned object UID (metadata.uid).
Read-Only:
replicas(Number) Number of replicas.resources(Attributes) Explicit CPU and memory per replica, when set. (see below for nested schema)resources_preset(String) Sizing preset.size(String) Persistent volume size.storage_class(String) StorageClass used to store the data.
Read-Only:
cpu(String) CPU available to each replica.memory(String) Memory available to each replica.
Read-Only:
enabled(Boolean) Whether TLS is explicitly enabled or disabled. Null when the instance inheritsexternal.
Read-Only:
name(String) Topic name.partitions(Number) Number of partitions.replicas(Number) Number of replicas.