1

We've been PoC-ing MassTransit on Azure Service Bus and are looking at ways of ensuring resiliency in the event of an ASB outage.

One option is using Azure's Paired Namespace functionality, which puts messages on backlog queues in a secondary namespace if the primary one is unavailable. ASB, then takes care of siphoning messages back to the primary namespace once it is available.

I've not been able to find a way to set this up through MassTransit. Is this possible at all?

3
  • Paired Namespace feature is deprecated, along with the old Azure Service Bus package. Please don't use it. Commented Oct 17, 2018 at 22:10
  • @SeanFeldman - Paired namespaces are still clearly supported by Azure, as per their documentation. Are you saying this was once supported by MassTransit and has been deprecated? If so, is there a reason as to why? I can't find any literature in github or the google discussion about this Commented Oct 18, 2018 at 11:12
  • Switching to an answer as my comment is too long 😀 Commented Oct 18, 2018 at 18:59

1 Answer 1

2

Paired namespaces is a feature baked into the old (read legacy) Azure Service Bus client WindowsAzure.ServiceBus.

Moving forward, the client to use is (and recommended by Microsoft)

This is the next generation Azure Service Bus .NET Standard client library that focuses on queues & topics.

is Microsoft.Azure.ServiceBus. Which is .NET Sdandard / .NET Core compliant implementation. If you're willing to use the feature that is A) not recommended (read here why) B) is deprecated from the new client and won't be implemented, by all means.

MassTransit neither relies on this feature nor do I see a good reason to bother to support it.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks for the clarification. Are you aware of any similar functionality that Microsoft intends to or has already introduced which would offer HA without the client having to do very much? Alternatively, would you see good reason for MassTransit to support a failover namespace?
That feature is combination of Premium tier with Availability Zones. Provides HA with a single dedicated namespace.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.