kv store feature #2487
-
hello, i learned from nats.io that there are key value and object store on the roadmap. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
The functionality is enabled via MaxMsgsPerSubject setting for a stream. https://www.youtube.com/watch?v=yYL0ZGTNomE The NATS cli has support and some clients have it as well already like Node.js and Java IIRC. |
Beta Was this translation helpful? Give feedback.
-
watch out kafka ksql ! |
Beta Was this translation helpful? Give feedback.
-
Does the golang client have it yet ? |
Beta Was this translation helpful? Give feedback.
-
So essentially this is not mult-master ? Like in video, write must happen to London, and all other Data centers can read ? |
Beta Was this translation helpful? Give feedback.
-
Also where is the ADR on this ? |
Beta Was this translation helpful? Give feedback.
-
Any cluster can read a KV bucket hosted in other regions of a super cluster. They support replication between regions as mentioned in the video and read replicas - though still formalising that. The nats.go client for the feature in preview mode this week. |
Beta Was this translation helpful? Give feedback.
-
The ADR is linked below but note we have a PR in progress to bring it up to date with nats.go implementation. https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-8.md |
Beta Was this translation helpful? Give feedback.
-
thank you !! |
Beta Was this translation helpful? Give feedback.
The functionality is enabled via MaxMsgsPerSubject setting for a stream.
https://www.youtube.com/watch?v=yYL0ZGTNomE
The NATS cli has support and some clients have it as well already like Node.js and Java IIRC.