[sr-dev] [kamailio/kamailio] nats module subscriber issue when connected to more "nats_urls" (Issue #2916)

Stefan Mititelu notifications at github.com
Fri Nov 5 08:01:26 CET 2021


Found in nats.h file, from nats.c git repo:
```
 * By default, #natsConnection_Connect() attempts to connect to a server
 * specified in provided list of servers. If it cannot connect and the list has been
 * fully tried, the function returns an error.
```
So the lib behavior is to connect to **a single server** from the list, not to all servers in the list.

Closing this, as it is expected lib behavior. Will document this in "nats_url" modparam.

Thanks,
Stefan

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2916#issuecomment-961667799
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211105/6f551d8c/attachment.htm>


More information about the sr-dev mailing list