【问题标题】:Azure function with failover service bus connection stringAzure function with failover service bus connection string
【发布时间】:2022-12-27 13:46:01
【问题描述】:

How to design an Azure function with service bus trigger which has fail over connection strings.

My understanding of azure function service bus trigger is it will be triggered only by 1 service bus. How can I switch to failover connection string?

Example: Service_bus_connection_string_1 Service_bus_connection_string_2

【问题讨论】:

  • Fail over Connection String? What do you mean by this? Why does a connection string fail? Can you explain it clearly?

标签: .net azure-functions azureservicebus


【解决方案1】:

You can't. The trigger only works with a single connection string today. Azure Service Bus DR only works with the Premium tier and even with that, failover is not automated.

【讨论】:

    【解决方案2】:

    We cannot have Failover in Service bus and we have to use only either Primary or Secondary Connection string to connect to Azure Function as of today:

    In Azure function :

    After that click on save, Now you can use Con inside azure function.

    【讨论】:

      猜你喜欢
      • 2022-08-17
      • 2022-12-01
      • 1970-01-01
      • 2020-02-27
      • 1970-01-01
      • 2022-10-08
      • 1970-01-01
      • 1970-01-01
      • 2019-01-26
      相关资源
      最近更新 更多