[SDK reference](../../index.md) / [Models](../index.md) / [Streams](index.md)

# StreamCluster

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Streams`  

A managed Kafka cluster: one single-tenant Apache Kafka in KRaft mode. Reachable inside the project's network; public access is an opt-in with TLS and SASL. Topic data is not backed up and is lost with the cluster.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Streams.StreamCluster_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `BootstrapServers` | `string?` | `bootstrapServers` | The private bootstrap address (host:port), set when READY. |
| `BrokerCount` | `int?` | `brokerCount` | The brokerCount property |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `Description` | `string?` | `description` | Human-readable description. |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `EngineVersion` | `string?` | `engineVersion` | The Kafka version the brokers run. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `Labels` | `Models.Streams.StreamCluster_labels?` | `labels` | At most 64. |
| `Location` | `string?` | `location` | The location property |
| `MaxPartitions` | `int?` | `maxPartitions` | The maxPartitions property |
| `MaxTopics` | `int?` | `maxTopics` | The maxTopics property |
| `Metrics` | `Models.Streams.StreamClusterMetrics?` | `metrics` | The last broker reading the platform took (not a live value). |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `PartitionCount` | `int?` | `partitionCount` | The partitionCount property |
| `PublicAccess` | `bool?` | `publicAccess` | True opens a public listener (TLS plus SASL only). Needs trust tier T1; default false (private to the project's network). |
| `PublicBootstrapServers` | `string?` | `publicBootstrapServers` | The public bootstrap address, set when publicAccess is on and the cluster is READY. |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `RetentionCapHours` | `int?` | `retentionCapHours` | The longest retention any topic may ask for, in hours, 1 to 720; default 168. |
| `Simulated` | `bool?` | `simulated` | True when the lab's simulated driver, not a real broker, answers. |
| `SizeClass` | `Models.Streams.StreamCluster_sizeClass?` | `sizeClass` | The class; it fixes the broker count (1 or 3) and the topic and partition limits. Cannot change after creation. |
| `State` | `Models.Streams.StreamCluster_state?` | `state` | The state property |
| `StateReason` | `string?` | `stateReason` | The stateReason property |
| `StorageGibPerBroker` | `int?` | `storageGibPerBroker` | Storage per broker in GiB, 10 to 2000; default 50. It only grows (use :scaleStorage). |
| `TopicCount` | `int?` | `topicCount` | The topicCount property |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
| `UserCount` | `int?` | `userCount` | The userCount property |
| `Version` | `string?` | `version` | The Kafka line, for example 3.9; default the platform's current line. Changed only by :upgrade. |
