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

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

"AzureWebJobsStorage": "UseDevelopmentStorage=true"

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

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

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

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

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

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

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

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/656132.html

大家都在问