I have two accounts on the same server. Account-A and Account-B. I've used nsc for creating imports and exports.
Account-A exports the subject "public.xyz.>" publicly to Account-B. Account-B imports the same subject, "public.xyz.>".
When I run nats sub "public.xyz.>" on Account-B, it works perfectly. The export seems to work, and I receive the messages sent from Account-A.
However, when I run nats sub --stream xxx "public.xyz.>", it doesn't work. I don't receive any message from Account-A. Here, I'm including parameter --stream.
Stream xxx has 2 subjects: "public.xyz.foo" and "public.abc.bar".
Why, when I mention the stream in the "nats sub" command, I stop receiving messages?
Thanks in advance!