Record - nats : PendingLimits

Parameters to set limits on the maximum number of messages, or maximum size of messages this consumer will hold before it starts to drop new messages waiting for the resource functions to drain the queue. Setting a value to anything less than or equal to 0 will disable this check.

Fields

  • maxMessages int
  • Maximum number of pending messages retrieved and held by the consumer service, defaults to 65536.

  • maxBytes int
  • Total size of pending messages in bytes retrieved and held by the consumer service, defaults to 67108864.