具有长期 Azure Functions 的 Azure 数据工厂
Azure Data Factory with long duration Azure Functions
我想在数据工厂中创建一个管道,我想将 Azure Function 用于某些 C# 代码,这些代码将从某些 Web 服务等下载文件。问题是 Azure 仅支持 HTTP 触发函数工厂和 HTTP 触发功能的持续时间限制为 230 秒。
https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale
是否有任何解决方法可以从数据工厂触发持续时间更长的 azure 函数?我需要同步进行,因为另一个进程将处理下载的数据。
非常感谢您的任何想法。
最简单的方法是只在 App Service Plan 中部署您的函数应用程序。
但如果您需要真正的无服务器消费计划体验,您可以尝试使用 Durable Functions along with a pipeline setup that polls the status endpoint returned (as shown here) 持久函数编排器。
我相信你必须使用
- 直到
- 网络
- 设置变量
- 等等
基本上,您将轮询状态端点,直到 runtimeStatus 设置为 "Completed"。
根据您的用例,Azure Batch Service 可能也是您想要研究的内容,它也有一个到 Azure 数据工厂的连接器。
我想在数据工厂中创建一个管道,我想将 Azure Function 用于某些 C# 代码,这些代码将从某些 Web 服务等下载文件。问题是 Azure 仅支持 HTTP 触发函数工厂和 HTTP 触发功能的持续时间限制为 230 秒。 https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale
是否有任何解决方法可以从数据工厂触发持续时间更长的 azure 函数?我需要同步进行,因为另一个进程将处理下载的数据。
非常感谢您的任何想法。
最简单的方法是只在 App Service Plan 中部署您的函数应用程序。
但如果您需要真正的无服务器消费计划体验,您可以尝试使用 Durable Functions along with a pipeline setup that polls the status endpoint returned (as shown here) 持久函数编排器。
我相信你必须使用
- 直到
- 网络
- 设置变量
- 等等
基本上,您将轮询状态端点,直到 runtimeStatus 设置为 "Completed"。
根据您的用例,Azure Batch Service 可能也是您想要研究的内容,它也有一个到 Azure 数据工厂的连接器。