interface StreamConfig
implements StreamUpdateConfig
import { type StreamConfig } from "https://deno.land/x/natsws@v1.29.0/src/mod.ts";
Properties
retention: RetentionPolicy
How messages are retained in the Stream, once this is exceeded old messages are removed.
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.