ADF事件基于SharePoint的触发器

huangapple go评论75阅读模式
英文:

ADF Event trigger based on sharepoint

问题

我有一个要求,当文件上传到Sharepoint时触发ADF管道。该管道将文件从Sharepoint复制到ADLS。据我了解,根据微软的文档(https://learn.microsoft.com/zh-cn/azure/data-factory/how-to-create-event-trigger?tabs=data-factory),不可能基于Sharepoint创建存储事件触发器。

因此,我计划采用替代方法,使用一个滚动触发器,每30分钟触发一次管道,并检查Sharepoint位置是否有文件可用。如果文件可用,它将复制文件到ADLS位置,并将触发另一个基于ADLS位置的事件管道,进行必要的处理。

请问有人能告诉我这是否是一个好方法,或者是否建议使用更好的方法。我对Azure世界还很陌生。提前感谢!

英文:

I have a requirement to trigger ADF pipeline when a file is uploaded into sharepoint. The pipeline copies the file from sharepoint to ADLS. As per my understanding, It is not possible to create storage event trigger based on Sharepoint (as per Microsoft documentation https://learn.microsoft.com/en-us/azure/data-factory/how-to-create-event-trigger?tabs=data-factory)

So the alternate approach I am planning is to use a tumbling trigger which will trigger the pipeline every 30 minutes and check if the file is available in the sharepoint location and if it is available it will copy files to ADLS location and another pipeline will be triggered which is event based on ADLS location and does the necessary processing

Can anyone please let me know if this is a good approach or any better approach is recommended. I am pretty new to Azure world.
Thanks in advance

答案1

得分: 1

最佳方式是利用逻辑应用/Power Automate

它会在文件出现在SharePoint中时触发。

然后通过逻辑应用,你可以通过其REST API或内建的逻辑应用连接器触发ADF管道。

英文:

Best way would be to leverage a logic app/power automate
ADF事件基于SharePoint的触发器

which would trigger once the file appears in sharepoint.

Then via logic app, you can trigger the ADF pipeline via its REST API or in built logic app connector

ADF事件基于SharePoint的触发器

huangapple
  • 本文由 发表于 2023年4月11日 12:42:23
  • 转载请务必保留本文链接:https://go.coder-hub.com/75982462.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定