OrchestrationTrigger持久功能:使用await with Azure功能应用程序消耗的输入和执行时间
我看到了下面的链接,有问题: 1当调用OrchestrationTrigger持久功能,并且由于某些原因(例如,在最大超时持续时间为10分钟后)崩溃时,将自动从表存储或队列中读取下面的输入、名称OrchestrationTrigger持久功能:使用await with Azure功能应用程序消耗的输入和执行时间,azure,azure-functions,Azure,Azure Functions,我看到了下面的链接,有问题: 1当调用OrchestrationTrigger持久功能,并且由于某些原因(例如,在最大超时持续时间为10分钟后)崩溃时,将自动从表存储或队列中读取下面的输入、名称 [FunctionName("E1_HelloSequence")] public static async Task<List<string>> Run( [OrchestrationTrigger] DurableOrchestrationContext contex
[FunctionName("E1_HelloSequence")]
public static async Task<List<string>> Run(
[OrchestrationTrigger] DurableOrchestrationContext context)
{
var names= ctx.GetInput<List<string>>();
var outputs = new List<string>();
outputs.Add(await context.CallActivityAsync<string>("E1_SayHello", names[0]));
outputs.Add(await context.CallActivityAsync<string>("E1_SayHello", names[1]));
// returns ["Hello Tokyo!", "Hello Seattle!"]
return outputs;
}
2在它崩溃后,它会自动重新启动
3每次等待时,函数都会转换为等待状态,等待时间是否会影响最大超时持续时间的一部分?您好,因为函数产品组的Chris已经参与了您的等待。 将其张贴在此处,以便对其他成员也有利 1是的,任何已执行活动函数的结果都将从表存储器中读取 2是,该功能将自动重试。现有队列消息可确保这一点 3不,等待时间不计入最大功能超时。你也不是
在等待的时间上,在您提供的链接中,在注释中,这些模式确保如果在检查点中间有崩溃或丢失连接,则不会丢失数据。您看到我在该帖子上的最新评论吗?