Using NSB v6.4.3 and NSB.RavenDB v4.2.5.
Hard to describe this one, and I will have to post any examples privately via email.
The issue is that the publisher seems to be only sporadically publishing events to certain endpoints. So If I publish MyEvent five times, as Subscriber1 I might only receive it twice. What’s more, Subscriber2 (that subscribes to the same event) might get it twice as well, but it seems that it would get two different events than Subscriber1. It’s almost as if I have things configured for competing consumers, but we are using very vanilla configuration and I don’t see anything in the config/setup that could cause this.
I think this is only happening to subscriptions that originate from Developers’ machines (this is in our dev environment).
From the publisher, I will see the publish ([RoutingToDispatchCon] DEBUG Destination: etc) and the list of subscribers published to; however, there is usually only one subscribing Developer machine endpoint in the list (and all subscribing servers I believe).
Assuming this is indeed only happening for developer subscriptions, my suspicion is that duplicate queue names (even on different machines) are causing the problem. For example, in the raven Subscriptions collection we might have:
MyService_Local@MyMachine
MyService_Local@OtherMachine
and in the Client collection we may have the same:
“Queue” : “MyService_Local”,
“Machine” : “MyMachine”
“Queue” : “MyService_Local”,
“Machine” : “OtherMachine”
I’m not sure where the code that pulls the Raven Subscription data in and loops over it is (NSB.Core of NSB.Raven). I did pull down the source code but ran out of time to look into it.
Let me know what I can do to help narrow it down. Happy to work with support to do a screen share if that helps.
Thanks,
Phil