@nats-io/jetstream
    Preparing search index...

    Type Alias StreamConsumerLimits

    Sets default consumer limits for inactive_threshold and max_ack_pending to consumers of this stream that don't specify specific values. This functionality requires a server 2.10.x or better.

    type StreamConsumerLimits = {
        inactive_threshold?: Nanos;
        max_ack_pending?: number;
    }
    Index

    Properties

    inactive_threshold?: Nanos

    The default inactive_threshold applied to consumers. This value is specified in nanoseconds. Please use the nanos() function to convert between millis and nanoseconds. Or millis() to convert a nanosecond value to millis.

    max_ack_pending?: number

    The default max_ack_pending applied to consumers of the stream.