azure - Azure Function 输出绑定(bind)是否有重试策略?

标签 azure azure-functions azure-blob-storage azure-functions-runtime

某些 Azure Function 触发器每个文档都有重试策略,但输出绑定(bind)又如何呢?如果尝试通过输出绑定(bind)写入 blob 失败怎么办?有没有重试的办法?

最佳答案

不幸的是没有。在函数github上检查这个问题:https://github.com/Azure/Azure-Functions/issues/891

根据结束评论,没有明确的错误处理。

仅对于 .net 代码,建议是:

对于输出绑定(bind)使用(CosmosDb、BlobStorage 和 TableStorage),当您使用 IAsyncCollector 并在绑定(bind)上调用 FlushAsync() 时,将执行该操作,并且您能够捕获与该操作相关的错误。

关于azure - Azure Function 输出绑定(bind)是否有重试策略?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58826814/

相关文章:

azure - 如何连接 Azure 机器学习和 Spark Streaming 或 Apache Storm

c# - 如何验证 Azure 存储 blob 名称

c# - 有没有办法在开发 azure 函数时监视文件更改?

azure-functions - 在azure函数中如何通过属性绑定(bind)事件中心输出参数

azure - Umbraco7:在同一 Azure 存储帐户中设置多个/媒体/blob 容器

azure - 将 ASP.NET Core JavaScript 服务部署到 Azure 故障节点

azure - 使用 Rest API 从 LogAnalytics Workspace 获取日志数据

c# - Azure Functions 的事件中心输入绑定(bind)

azure - API 连接失败,错误代码为 'Forbidden'

azure - ImportError : No module named azure. storage.blob(执行syncdb时)