Azure Kubernetes部署Azure功能服务总线触发器服务无法正常工作(触发)消息进入Azure Service Bus。

问题描述:

我在Kubernetes(AKS)的 .Net
中创建了Azure功能,用于服务总线队列触发器 参考下面的链接(文章)

AKS上的Azure功能 。

I am created Azure Functions on Kubernetes (AKS) in .Net for Service Bus Queue trigger by referring below link (Article)
Azure Functions on AKS .

我面临的问题  Azure功能服务总线触发服务无法正常工作(触发)消息进入Azure Service Bus On
AKS



我的触发器功能代码如下:

I am facing issue of Azure Function Service Bus Trigger Service is not working (Triggered) on message come into Azure Service Bus On AKS

Below code for my trigger function :


使用 Microsoft Azure WebJobs ;

您好Amol, 

Hi Amol, 

ServiceBus触发器需要Azure存储。这可能是导致您的问题的原因。请查看此解决方法,在Kubernetes部署中添加Azure存储连接字符串和AzureWebJobs环境变量。 

ServiceBus Triggers require Azure Storage. It is likely that this is what is causing your issue. Have a look at this workaround to add the Azure Storage connection string with a AzureWebJobs environment variable in your Kubernetes deployment. 

查看此博客,了解Azure队列的类似说明。   https://medium.com/@tsuyoshiushio/playing-with-azure-functions-kubernetes-integration-9048908bfc2a

Have a look at this blog for a similar explanation for Azure Queues. https://medium.com/@tsuyoshiushio/playing-with-azure-functions-kubernetes-integration-9048908bfc2a

谢谢,

Anirudh