防止多个计划的ADF管道运行 [英] Preventing Multiple Scheduled ADF Pipeline Runs

查看:55
本文介绍了防止多个计划的ADF管道运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ADF pipline,我每5分钟安排一次。如果大量数据涌入会导致管道运行超过五分钟,我想确保管道在另一个完成之前不会启动,或者只是等到下一个预定运行的

I have a ADF pipline that I have scheduled for every 5 minutes. If an influx of data came in that would cause the pipeline to run more than five minutes I would like to make sure the pipeline doesn't start until the other one finishes or just waits until the next scheduled run.

推荐答案

我们可以通过两种方式做到这一点,

We can do this two ways ,

我们需要利用以下API并检查状态管道和仅在未运行时运行管道。这个

链接
将为您提供帮助 

We need to leverage the the below API and check the status of the Pipeline & only run the Pipeline when its is not running . This link will help you that 

您还可以保持管道的状态 在blob / table中完成。并在管道的开头使用IF活动,只在没有设置时执行管道。 

You can also persist the state of the Pipeline  in blob/table on completion . and use the IF activity in the beginning of pipeline and only execute the pipeline when its is not set . 


这篇关于防止多个计划的ADF管道运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆