SDK reference / Models / Messaging

Broker

Kind: class

Namespace: Egulu.Sdk.Models.Messaging

A managed message broker: one NATS JetStream account on the cell's broker server (W141; ADR-0819). The account is the server's ownisolation: subjects, streams and consumers of one broker do not exist for any other broker or project. Connect with credentials from:issueCredentials; publish, subscribe, and keep durable file-backed streams within the account's limits.

Properties

NameTypeJSON nameDescription
Accountstring?accountThe broker's NATS account name (`B` and the broker's UID).
AnnotationsModels.Messaging.Broker_annotations?annotationsAt most 256 KiB in all; never policy input.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
Descriptionstring?descriptionHuman-readable description.
DisplayNamestring?displayNameUp to 63 characters.
Endpointstring?endpointThe client URL to connect to (`nats://host:port`), set when the broker is READY.
Enginestring?engineThe engine: `nats-jetstream` (the only one; Kafka follows after week 4 per ADR-0819).
EngineVersionstring?engineVersionThe broker server's version.
Etagstring?etag"{generation}"; send it back in If-Match.
LabelsModels.Messaging.Broker_labels?labelsAt most 64.
Locationstring?locationLocation ID where the broker is homed.
MaxConsumersint?maxConsumersThe most consumers of the account (1..1000, default 100).
MaxStorageByteslong?maxStorageBytesThe account's JetStream file-storage limit in bytes (1 MiB..10 GiB, default 1 GiB); memory storage is not offered.
MaxStreamsint?maxStreamsThe most streams of the account (1..100, default 10).
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
StateModels.Messaging.BrokerState?stateBroker lifecycle states (W141; ADR-0819, ADR-0105).
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property