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

Emmanuel Schmidbauer notifications at github.com
Fri Nov 19 13:26:09 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 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 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

Hi Stefan, thanks for the feedback.
I have removed the log line since it was not accurate.

-- 
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-974028514
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211119/4ee64170/attachment.htm>


More information about the sr-dev mailing list