Comments (7)
Yes, fixed here b213da1 and not yet released.
from natscli.
Thanks for the report,
Do you mind adding --trace to the command arguments?
Here you can see picking a domain does result in the API trying to access the stream in the domain:
$ nats sub --stream X --js-domain foo --trace
09:40:09 >>> $JS.foo.API.STREAM.INFO.X
this indicates its accessing the domain correctly
from natscli.
nats --js-domain A s add foo
nats --js-domain B s add bar
nats pub foo.foo foo
nats pub bar.bar bar
nats --js-domain B sub --stream foo --trace # Note, foo is on domain A
<<< Reply Subject: $JS.ACK.foo.OKmk1lpA.1.1.1.1718197970030690510.0
[#1] Received JetStream message: stream: foo seq 1 / subject: foo.foo / time: 2024-06-12T09:12:50-04:00
foo
nats --js-domain B sub --stream bar --trace
nats: error: nats: stream not found
nats --js-domain B s ls # Shows bar with 1 message
from natscli.
The —trace flag is only useful if you show the new output like in my example.
from natscli.
Sorry, I'm not sure what you mean. Are you referring to the output of the sub --stream bar --trace
? If so, I copied the output verbatim:
from natscli.
Same with the sub --stream foo --trace
:
from natscli.
Ok perhaps the trace behaviour are in main only. To me this seems fixed for the next release.
from natscli.
Related Issues (20)
- nats str edit cannot update Subject Transform HOT 2
- A bug that was filed in nats.go HOT 2
- If user is set then token is not transmitted HOT 2
- Displayed ObjectStore digest is truncated HOT 1
- Not recognizing difference in stream configuration for sources HOT 1
- Support wildcard for KV get HOT 11
- Broken nats-cli arm64 binary HOT 3
- Stream info shows first and last timestamps incorrectly HOT 2
- Enable inactive-threshold flag while editing consumer HOT 2
- Can't create pull consumer from cli HOT 10
- Add a JWT decoder
- `micro list` timeout when micro service process paused via debugger HOT 4
- Subscribing to JetStream Stream on a 3 node cluster with a single offline node fails 1 in 3 times HOT 10
- nats: error: user: unknown userid 929600006 HOT 2
- Max Message Size accepts too large a value HOT 2
- Add stream ingest rate sampling HOT 4
- Clean up consumer code
- corrupt images when headers data is included HOT 5
- Failed to resolve requested version when downloading nats-cli binary HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from natscli.