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
| Name | Type | JSON name | Description |
|---|---|---|---|
Account | string? | account | The broker's NATS account name (`B` and the broker's UID). |
Annotations | Models.Messaging.Broker_annotations? | annotations | At most 256 KiB in all; never policy input. |
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. |
Endpoint | string? | endpoint | The client URL to connect to (`nats://host:port`), set when the broker is READY. |
Engine | string? | engine | The engine: `nats-jetstream` (the only one; Kafka follows after week 4 per ADR-0819). |
EngineVersion | string? | engineVersion | The broker server's version. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Labels | Models.Messaging.Broker_labels? | labels | At most 64. |
Location | string? | location | Location ID where the broker is homed. |
MaxConsumers | int? | maxConsumers | The most consumers of the account (1..1000, default 100). |
MaxStorageBytes | long? | maxStorageBytes | The account's JetStream file-storage limit in bytes (1 MiB..10 GiB, default 1 GiB); memory storage is not offered. |
MaxStreams | int? | maxStreams | The most streams of the account (1..100, default 10). |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
State | Models.Messaging.BrokerState? | state | Broker lifecycle states (W141; ADR-0819, ADR-0105). |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |