nats-architecture-and-design icon indicating copy to clipboard operation
nats-architecture-and-design copied to clipboard

new pull consumer and ephemeral consumer options

Open aricart opened this issue 3 years ago • 0 comments

Overview

The following consumer options can now be set on a consumer (applying only to pull consumers):

  • max_batch (number)
  • max_expires (number - duration - nanos)

For ephemeral consumers, the following option can now be set:

  • inactive_threshold (number - duration - nanos)

Currently, these options can be set on any consumer, an issue has been filed on the server to reject them if not set on the correct consumer type. This would alleviate validation on the client-side. These properties on 2.7.1 can also be updated.

See https://github.com/nats-io/nats-server/pull/2776

Clients and Tools

  • [x] Schemas @ripienaar
  • [x] CLI @ripienaar
  • [x] Terraform @ripienaar
  • [x] Github Actions @ripienaar
  • [x] Go @wallyqs
  • [x] Java @scottf
  • [x] JavaScript
  • [x] .Net @ColinSullivan1 @scottf
  • [x] C @kozlovic
  • [ ] Python @wallyqs
  • [ ] Ruby @wallyqs
  • [x] Rust @matthiashanel @derekcollison @Jarema

Other Tasks

Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.

aricart avatar Jan 26 '22 20:01 aricart