forked from nats-io/nats.rs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(kv): Fixes issues with using the kv store when a JS domain is set
This is essentially the same fix as nats-io/nats.go#910 in the go client, complete with test to make sure things work
- Loading branch information
1 parent
106f6d7
commit 1d71738
Showing
5 changed files
with
84 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
port: 5223 | ||
monitor_port: 8223 | ||
leafnodes { | ||
remotes = [ | ||
{ | ||
urls: [ | ||
"nats://127.0.0.1:7422", | ||
] | ||
} | ||
] | ||
} | ||
jetstream { | ||
domain = leaf, | ||
max_mem_store: 8MiB, | ||
max_file_store: 10GiB | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
port: 5222 | ||
monitor_port: 8222 | ||
leafnodes { | ||
port: 7422 | ||
} | ||
jetstream { | ||
domain = foobar, | ||
max_mem_store: 8MiB, | ||
max_file_store: 10GiB | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters