[sr-dev] [kamailio/kamailio] nats: move nats connection handling into a struct in order to extend features (PR #2934)

Stefan Mititelu notifications at github.com
Fri Nov 19 11:35:26 CET 2021


Hi, my only comment is that when the nats server is down and kamailio is started, those 2 logs appear:
```
Nov 19 12:32:53 LXBU-GRPF8S2 kamailio: ERROR: nats [nats_mod.c:123]: nats_consumer_worker_proc(): could not connect to nats servers [Not Yet Connected]
Nov 19 12:32:53 LXBU-GRPF8S2 kamailio: INFO: nats [nats_mod.c:159]: nats_consumer_worker_proc(): nats queue group worker connected to subject [foo] queue group [2020]
```

So maybe 2'nd log should be logged only when server is up. Otherwise, looks good to me.

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/pull/2934#issuecomment-973952802
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211119/95237b58/attachment.htm>


More information about the sr-dev mailing list