nats-architecture-and-design
nats-architecture-and-design copied to clipboard
new pull consumer and ephemeral consumer options
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
- [ ] docs.nats.io updated
- [ ] Update ADR to
Implemented
- [x] Update client features spreadsheet
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.