How to share bucket between accounts? #4612
-
Is it possible to share buckets between accounts similar to streams and topics? |
Beta Was this translation helpful? Give feedback.
Answered by
jnmoyne
Oct 3, 2023
Replies: 1 comment
-
Yes. The JetStream KV store functionality is built upon the Stream functionality (you can see the bucket's streams for example using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jnmoyne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. The JetStream KV store functionality is built upon the Stream functionality (you can see the bucket's streams for example using
nats stream ls -a
. So everything you can do with a stream you could do with a bucket. Also, the new subject transformation functionality in streams introduced in 2.10 allows you to source KV buckets (even within the same JS domain where the sourcing and sourced buckets have different names).