Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface AccountLimits
import { type AccountLimits } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

Properties

max_memory: number

The maximum amount of Memory storage Stream Messages may consume

max_storage: number

The maximum amount of File storage Stream Messages may consume

max_streams: number

The maximum number of Streams an account can create

max_consumers: number

The maximum number of Consumer an account can create

max_ack_pending: number

The maximum number of outstanding ACKs any consumer may configure

memory_max_stream_bytes: number

The maximum size any single memory stream may be

storage_max_stream_bytes: number

The maximum size any single storage based stream may be

max_bytes_required: number

Indicates if Streams created in this account requires the max_bytes property set