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.