英文:
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管道。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论