Azure Kubernetes部署Azure功能服务总线触发器服务无法正常工作(触发)消息进入Azure Service Bus。 [英] Azure Kubernetes deployed Azure Function Service Bus Trigger Service is not working (Triggered) on message come into Azure Service Bus.

查看:107
本文介绍了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





这篇关于Azure Kubernetes部署Azure功能服务总线触发器服务无法正常工作(触发)消息进入Azure Service Bus。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆