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

NameTypeJSON nameDescription
AnnotationsModels.Streams.StreamTopic_annotations?annotationsAt most 256 KiB in all; never policy input.
CleanupPolicyModels.Streams.StreamTopic_cleanupPolicy?cleanupPolicyThe cleanupPolicy property
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
LabelsModels.Streams.StreamTopic_labels?labelsAt most 64.
MaxMessageBytesint?maxMessageBytesThe largest message in bytes, 1024 to 8388608; default 1048576.
MessageCountlong?messageCountMessages held at the last reading (end offsets minus start offsets).
MessagesInTotallong?messagesInTotalThe first partition offsets' total in, of all time (messages written), at the last reading.
MinInsyncReplicasint?minInsyncReplicasReplicas that must acknowledge a write, 1 up to the replication factor; default 1 (one broker) or 2.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
ObserveTimeDateTimeOffset?observeTimeThe observeTime property
Partitionsint?partitionsThe number of partitions, 1 to 100. It only grows.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
ReplicationFactorint?replicationFactorCopies of each partition, at most the cluster's broker count. Fixed at creation.
RetentionByteslong?retentionBytesThe size a partition may reach before old segments go, in bytes; -1 means no size limit (the cluster's storage still applies).
RetentionMslong?retentionMsHow 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.
SizeByteslong?sizeBytesThe size on disk in bytes at the last reading.
StateModels.Streams.StreamTopic_state?stateThe state property
StateReasonstring?stateReasonThe stateReason property
TopicNamestring?topicNameThe 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.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property