Interface 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.


  • StreamConsumerLimits


inactive_threshold?: number

The default inactive_threshold applied to consumers. This value is specified in nanoseconds. Pleause 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.

Generated using TypeDoc