| name |
kotlin.String |
Stream name (alphanumeric, hyphens, underscores). |
|
| subjects |
kotlin.collections.List<kotlin.String> |
Subjects bound to this stream. Supports wildcards. |
|
| retention |
inline |
Message retention policy. `limits` keeps messages until limits are hit. `interest` keeps messages while consumers exist. `workqueue` deletes messages after acknowledgment. |
[optional] |
| maxMsgs |
kotlin.Long |
Maximum number of messages (-1 for unlimited). |
[optional] |
| maxBytes |
kotlin.Long |
Maximum total bytes (-1 for unlimited). |
[optional] |
| maxAge |
kotlin.String |
Maximum message age (e.g., "24h", "7d", "0" for unlimited). |
[optional] |
| maxMsgSize |
kotlin.Int |
Maximum single message size in bytes (-1 for default). |
[optional] |
| storage |
inline |
Storage backend for stream data. |
[optional] |
| numReplicas |
kotlin.Int |
Number of replicas in the cluster. |
[optional] |
| discard |
inline |
Discard policy when limits are reached. `old` discards the oldest messages. `new` rejects new messages. |
[optional] |
| duplicateWindow |
kotlin.String |
Window for message deduplication based on Nats-Msg-Id header (e.g., "2m"). Defaults to "2m". |
[optional] |
| description |
kotlin.String |
Optional human-readable description. |
[optional] |