nats-architecture-and-design
nats-architecture-and-design copied to clipboard
KV Status expose size in bytes of the bucket.
Overview
See ADR 8 KV Status interface changes
Status now exposes:
// Bytes returns the size in bytes of the bucket
Bytes() uint64
Clients and Tools
- [x] CLI @ripienaar
- [x] Go https://github.com/nats-io/nats.go/pull/1092
- [x] Java @scottf https://github.com/nats-io/nats.java/pull/754
- [x] JavaScript @aricart https://github.com/nats-io/nats.deno/pull/378
- [x] .Net @scottf https://github.com/nats-io/nats.net/pull/690
- [x] C done by kozlovic https://github.com/nats-io/nats.c/pull/595
- [ ] Python @wallyqs
- [ ] Ruby @wallyqs
- [ ] Rust @Jarema @caspervonb
Other Tasks
- [x] docs.nats.io updated @jnmoyne
- [ ] Update ADR to
Implemented
- [ ] 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.
(note that this is not aligned with the same functionality in ObjectStore where this is called size
)