interface StreamConfig
implements StreamUpdateConfig
import { type StreamConfig } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";
Properties
retention: RetentionPolicy
How messages are retained in the Stream, once this is exceeded old messages are removed.
storage: StorageType
The storage backend to use for the Stream.
optional
mirror: StreamSourceMaintains a 1:1 mirror of another stream with name matching this property. When a mirror is configured subjects and sources must be empty.
Sealed streams do not allow messages to be deleted via limits or API, sealed streams can not be unsealed via configuration update. Can only be set on already created streams via the Update API