Azure数据工厂:事件未启动管道 [英] Azure Data Factory: event not starting pipeline

查看:59
本文介绍了Azure数据工厂:事件未启动管道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经建立了一个包含复制活动的Azure Data Factory管道.出于测试目的,源和接收器均为Azure Blob存储.

I've set up a Azure Data Factory pipeline containing a copy activity. For testing purposes both source and sink are Azure Blob Storages.

在源Azure Blob存储上创建新文件后,我将不立即执行管道.

I wan't to execute the pipeline as soon as a new file is created on the source Azure Blob Storage.

我创建了一个类型为BlovEventsTrigger的触发器. Blob路径开头已设置为//

I've created a trigger of type BlovEventsTrigger. Blob path begins with has been set to //

我使用Cloud Storage Explorer上传文件,但它不会触发我的管道.为了弄清楚什么地方出了问题,如何检查事件是否被触发?知道有什么问题吗?

I use Cloud Storage Explorer to upload files but it doesn't trigger my pipeline. To get an idea of what is wrong, how can I check if the event is fired? Any idea what could be wrong?

谢谢

推荐答案

重申其他人所说的话:

  • 必须使用V2存储帐户
  • 触发器名称只能包含字母,数字和'-'字符(此限制将很快被删除)
  • 必须已向事件网格资源提供者注册了订阅(即将通过UX为您完成此操作)
  • 触发器使以下属性可用@triggerBody().folderPath@triggerBody().fileName.要在管道中使用它们,必须将它们映射到管道参数并按如下方式使用它们:@pipeline().parameters.paramaetername.
  • Must be using a V2 Storage Account
  • Trigger name must only contain letters, numbers and the '-' character (this restriction will soon be removed)
  • Must have registered subscription with Event Grid resource provider (this will be done for you via the UX soon)
  • Trigger makes the following properties available @triggerBody().folderPath and @triggerBody().fileName. To use these in your pipeline your must map them to pipeline paramaters and use them as such: @pipeline().parameters.paramaetername.

最后,根据您的配置设置,blob路径以//开头,将不匹配任何blob事件. UX实际上会向您显示一条错误消息,指出该值无效.请参考基于事件的触发器文档,以获取有效配置的示例.

Finally, based on your configuration setting blob path begins with to // will not match any blob event. The UX will actually show you an error message saying that that value is not valid. Please refer to the Event Based Trigger documentation for examples of valid configuration.

这篇关于Azure数据工厂:事件未启动管道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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