带有 OrchtestrationTrigger 的 Azure 函数不适用于本地 Azure 存储模拟器

问题描述

我开发了一个带有一些定时器触发函数的 Azure 函数应用程序。 对于我在 local.settings.json 中设置的本地调试:

"AzureWebJobsstorage": "UseDevelopmentStorage=true"

使用 Azure 存储模拟器在本地一切正常。

但是如果我添加一个编排触发函数,例如:

[FunctionName("Function2")]
public void Function2([orchestrationTrigger] IDurableorchestrationContext context,ILogger log)
{
   ...
}

代码编译,启动但没有调用定时器触发函数

如果我将“AzureWebJobsstorage”更改为真正的 Azure 存储连接,一切都会再次正常。

是否可以通过 Azure 存储模拟器在纯本地使用和测试计时器触发和编排功能

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)