Skip to content

NatsEventStreamOptions

JetStream stream settings for normal event subjects.

name: string

Durable JetStream stream name used for event delivery.


optional replicas?: number

Optional JetStream replica count.


optional storage?: StorageType

Optional JetStream storage mode. Defaults to file storage.


subjects: string[]

Subjects captured by the event stream.