网络活动1分钟超时阈值

网络活动1分钟超时阈值

本文介绍了网络活动1分钟超时阈值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 最近,我们的数据流已开始失败.经过调查,这是因为我们打电话给一个网络活动,该活动过去通常需要57-58秒,而现在却需要63-68秒.经过研究,我发现我们无法 根据这些文章/帖子提供60秒以外的任何超时时间: https://social.msdn.microsoft.com/Forums/azure/zh-CN/d5667e88-6fe7-4614-be51-1335ed713fd4/azure-data-factory-v2-web-activity?forum=AzureDataFactory https://docs.microsoft.com/en-us /azure/data-factory/control-flow-web-activity注意,网络活动调用的REST端点必须返回JSON类型的响应.如果活动没有收到端点的响应,则将在1分钟后超时并显示错误. 使用DataFactory v2 我的问题是,有没有解决此问题的示例?看来解决方案是使用do-until或类似方法并持续检查是否已完成,但是我还要从网络活动中返回我需要的值(restAPI 这实际上只是对逻辑应用程序的调用.示例运行如下.谢谢. 解决方案 Recently our dataflow has started failing.  Upon investigation it is because we make a call to a web activity that used to take consistently 57-58 seconds and it now takes 63-68 seconds.  After researching, I have found out that we are UNABLE to provide any timeout other than 60 seconds based on these articles / posts:https://social.msdn.microsoft.com/Forums/azure/en-US/d5667e88-6fe7-4614-be51-1335ed713fd4/azure-data-factory-v2-web-activity?forum=AzureDataFactoryhttps://docs.microsoft.com/en-us/azure/data-factory/control-flow-web-activity Note REST endpoints that the web activity invokes must return a response of type JSON. The activity will timeout at 1 minute with an error if it does not receive a response from the endpoint.Edit:  using DataFactory v2My question is, is there any examples of how to get around this?  It looks like the solution is to use a do-until or something and consistently check if it is done, but I am also returning a value that I need from the web-activity (restAPI which really is just a call to a logic app).Sample runs are below.  Thanks. 解决方案 这篇关于网络活动1分钟超时阈值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-21 07:38