Skip to main content

Interface: StreamBounds

Defined in: packages/messaging/src/streams.ts:22

The bounds every stream must state (29: bounded streams, nothing kept without a ceiling).

Properties​

duplicateWindowNs​

readonly duplicateWindowNs: number

Defined in: packages/messaging/src/streams.ts:30

How long a Nats-Msg-Id is remembered for de-duplication, in nanoseconds.


maxAgeNs​

readonly maxAgeNs: number

Defined in: packages/messaging/src/streams.ts:28

The longest a message may stay, in nanoseconds.


maxBytes​

readonly maxBytes: number

Defined in: packages/messaging/src/streams.ts:24

Total size, in bytes.


maxMessages​

readonly maxMessages: number

Defined in: packages/messaging/src/streams.ts:26

Number of messages.