Closed Sachita007 closed 10 months ago
I would like to express my sincere apologies for any inconvenience caused by the issue I reported. After a more thorough review, I realized that my oversight led to the misunderstanding. I failed to notice that the documentation specifies the use of 'servers' instead of 'url' for connection parameters. As a result, the connection defaulted to the standard port instead of the one I intended.
I appreciate your understanding and patience as we navigate through these matters. In the future, I will make sure to carefully review the documentation before reporting any issues. Thank you for your time and assistance!
Hello,
I'm experiencing an issue with stream creation when connected to a leaf node. Instead of creating the stream on the leaf node, it consistently creates on the hub server. Here are the details of my configuration:
leaf Server config
Hub Server Config
My Code:
Output:
In the above scenario, I connected to the leaf node and attempted to create the stream. Instead of being created on the leaf node, it is being created on the hub server.
Originally posted by @Sachita007 in https://github.com/nats-io/nats.js/discussions/610