Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allows cluster filtering in account subject mapping (#4175)
- [X] Branch rebased on top of current main (`git pull --rebase origin main`) - [X] Changes squashed to a single commit (described [here](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html)) - [ ] Build is green in Travis CI - [X] You have certified that the contribution is your original work and that you license the work to the project under the [Apache 2 license](https://github.com/nats-io/nats-server/blob/main/LICENSE) ### Changes proposed in this pull request: Allows (exposes) the existing cluster filtering option of account level subject mapping, thereby allowing you to define different mapping destination per cluster (e.g. to insert the cluster name as a subject token). Example: ``` mappings { "foo":[ {destination:"foo-east", cluster: "east", weight:100}, {destination:"foo-west", cluster: "west", weight:100}, ] } ```
- Loading branch information