Closed SlowLogicBoy closed 1 year ago
Honestly, I don't know why and how the IQueueClientFactory
came to be. I just took a git blame view, and it looks like it has my name on it, but I don't recall having introduced it.
It could have something to do with supporting multiple types of authentication (e.g. connection string credentials, managed identity, etc.), but I'm not sure.
Do you know if QueueServiceClient
can fill this role?
As far as I can see it does the same thing as IQueueClientFactory
I thought Rebus could reuse QueueServiceClient
that I configure and register 🤔 and Rebus could do TryAddSingleton
or w/e, but I guess it's not a big deal we just have multiple factories for same QueueClient
🤔
Ok! Let me know if you find out that there would be an advantage in switching over to QueueServiceClient
🙂
Hey,
I'm curious is there a reason you are using your own
IQueueClientFactory
instead ofQueueServiceClient
?