SDK reference / Models / Streams
StreamTopic
Kind: class
Namespace: Egulu.Sdk.Models.Streams
The broker settings of a topic. Only the settings of this closed set exist.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Streams.StreamTopic_annotations? | annotations | At most 256 KiB in all; never policy input. |
CleanupPolicy | Models.Streams.StreamTopic_cleanupPolicy? | cleanupPolicy | The cleanupPolicy property |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DisplayName | string? | displayName | Up to 63 characters. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Labels | Models.Streams.StreamTopic_labels? | labels | At most 64. |
MaxMessageBytes | int? | maxMessageBytes | The largest message in bytes, 1024 to 8388608; default 1048576. |
MessageCount | long? | messageCount | Messages held at the last reading (end offsets minus start offsets). |
MessagesInTotal | long? | messagesInTotal | The first partition offsets' total in, of all time (messages written), at the last reading. |
MinInsyncReplicas | int? | minInsyncReplicas | Replicas that must acknowledge a write, 1 up to the replication factor; default 1 (one broker) or 2. |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
ObserveTime | DateTimeOffset? | observeTime | The observeTime property |
Partitions | int? | partitions | The number of partitions, 1 to 100. It only grows. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
ReplicationFactor | int? | replicationFactor | Copies of each partition, at most the cluster's broker count. Fixed at creation. |
RetentionBytes | long? | retentionBytes | The size a partition may reach before old segments go, in bytes; -1 means no size limit (the cluster's storage still applies). |
RetentionMs | long? | retentionMs | How long a message is kept, in milliseconds: 3600000 (1 hour) up to the cluster's retention cap. Default 604800000 (7 days) or the cap if lower. |
SizeBytes | long? | sizeBytes | The size on disk in bytes at the last reading. |
State | Models.Streams.StreamTopic_state? | state | The state property |
StateReason | string? | stateReason | The stateReason property |
TopicName | string? | topicName | The topic's name on the broker: 1 to 249 letters, digits, dot, dash and underscore, not starting with an underscore. Default the resource ID. Fixed at creation. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |