NATS cluster with internal subjects and communication between clusters #4800
-
I have two nats clusters in two locations. I tried something like this: c1.conf:
c2.conf:
So the idea is to have user What I want to achieve is similar to this question. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I would suggest connecting the clusters via leafnodes. Then you could only connect the account you want data to flow, and can move internal comms to a different local account that is not connected via leafnodes. Or, you can put permissions directly on the leafnode that deny's pub and sub for |
Beta Was this translation helpful? Give feedback.
In the remote leafnode block for each solicited leafnode you can specify
deny_export
anddeny_import
which can be a single subject (optionally with wildcard) or a list of them, e.g.["foo", "bar.*"]