Type Alias StreamConsumerLimits

StreamConsumerLimits: { inactive_threshold?: Nanos; max_ack_pending?: number }

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 declaration

  • Optionalinactive_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.

  • Optionalmax_ack_pending?: number

    The default max_ack_pending applied to consumers of the stream.