I'm using nats and I'm not sure if it will be able to do what I'm attempting. My understanding is that accounts will allow me to have overlapping subjects since the subject space is not globally shared.
What I'd like to be able to do is have different users (in different accounts) subscribe to the same subject in their account with another application user/account publishing separately to each of them?
So, if I have the following three users/accounts:
accounts: {
A: {
users: [
{user: a, password: a}
]
},
B: {
users: [
{user: b, password: b}
]
},
C: {
users: [
{user: c, password: c}
]
},
}
I'd like users b and c to subscribe to mysubject
(which are non-overlapping in their own account) and have user a publish to each of them separately.
Having read and re-read the documentation a few times, it doesn't seem like that's possible because I'd need to export different streams from user a that users b and c could import separately?
I'm really just looking to confirm that this is the case. Thanks.