Azure / azure-functions-servicebus-extension

Service Bus extension for Azure Functions
MIT License
65 stars 35 forks source link

Is there a way to support Service Bus - DNS-based failover #217

Open abdomohamed opened 1 year ago

abdomohamed commented 1 year ago

Hi there,

I wonder if there is a way to query DNS SRV records for a destination message hub. We have two service buses provisioned in two regions, and we are using DNS failover to control the traffic between the two regions. We do replicate the messages between the two regions for disaster recovery.

We didn't use out-of-the-box geo-replication from the message hub because it prevents us from replicating messages to the secondary message hub.

https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-federation-patterns#dns-based-failover-configuration