<p></p>
<h3>Description, Troubleshooting, Reproduction</h3>
<p>I have 3  go nats servers running and the following kamailio config for nats:</p>
<pre><code>modparam("nats", "nats_url", "nats://127.0.0.1:4222")
modparam("nats", "nats_url", "nats://127.0.0.2:4222")
modparam("nats", "nats_url", "nats://127.0.0.3:4222")

modparam("nats", "subject_queue_group", "foo:2020")
...

event_route[nats:foo]
{
                xlog("L_ERR", "==============> received $natsData");
}
</code></pre>
<p>I try to publish using some nats publisher (e.g. nats.c example/libuv-pub.c), and nothing gets printed in event route:</p>
<pre><code>./pub -s nats://127.0.0.1:4222 -txt "aaaaaaaaaaaa" -count 1 // event route log NOT printed
./pub -s nats://127.0.0.2:4222 -txt "aaaaaaaaaaaa" -count 1 // event route log NOT printed
</code></pre>
<p>However, if I try to publish on the last server "127.0.0.3", log <em>is</em> printed:</p>
<pre><code>./pub -s nats://127.0.0.3:4222 -txt "aaaaaaaaaaaa" -count 1 // event route log IS printed
</code></pre>
<p>I expected to see 1 log message for each of the above publish(es). Found this while implementing and testing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1043602264" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/2915" data-hovercard-type="pull_request" data-hovercard-url="/kamailio/kamailio/pull/2915/hovercard" href="https://github.com/kamailio/kamailio/pull/2915">#2915</a></p>
<p>Thanks,<br>
Stefan</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2916">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOOQFBGGYYEFUZSWALUKKGUDANCNFSM5HLQGTCQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZKSOUOAHBXQWR5LFF3UKKGUDA5CNFSM5HLQGTC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PSGIYOQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2916",
"url": "https://github.com/kamailio/kamailio/issues/2916",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>