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

KV Status expose size in bytes of the bucket.

Open scottf opened this issue 1 year ago • 1 comments

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.

scottf avatar Sep 29 '22 15:09 scottf