我在DataFactory中创建了一个事件触发器但是在创建blob文件时它没有被执行。
如果我点击'立即触发',一切都正确执行。
我只使用字母数字作为触发器的名称,管道和工厂。
当我尝试将Event网格资源添加到我的订阅时,我只看到以下内容:事件网格主题/事件网格订阅和事件网格域。
我试图包括那些但触发器仍然不起作用。
我应该在列表中看到"事件网格"资源吗?
我还能尝试其他什么吗?
谢谢,
Sylvain。
{解决方案
嗨
如果有帮助,请告诉我们。
I've created an event trigger in DataFactory but its not executed when my blob file is being created.
If I click on 'Trigger now', everything execute correctly.
I only use alphanumerics for the trigger's name, pipeline and factory.
When I try to add the Event grid resource to my subscription, I only see the following: Event Grid Topics / Event Grid Subscriptions and Event Grid Domains.
I've tried to include those but the trigger still doesn't work.
Should I see an 'Event Grid' resource in the list ?
Anything else I could try ?
Thanks,
Sylvain.
{ 解决方案HiSylvain Dorion,
Thank you for your inquiry.
Could you try"blobPathBeginsWith": "/store001/blobs/" (Note: This suggestion is based on assuming "store001" as your container name)
- A Blob path must begin with a container name enclosed by "/" and followed by "blobs/" segment as below
Example: /containerName/blobs/
- Folder, subfolder and file name are optional but when specified they must appear after "/blobs/" segment as below.
Example: /containerName/blobs/folderName/fileName.txt
Additional Info:
To add "Microsoft.EventGrid" provider to your subscription:
- Go to "Subscriptions", select your subscription, then click on "Resource Providers" under "Settings" panel, search for "Microsoft.EventGrid" and then select it from the list and click on "Register". Once it is registered, you should be able to create Event Triggers in ADF.
- To know more about Azure Resource providers and types, please refer to this doc
Please do let us know if this helps.
更多推荐
事件触发器未在Data Factory中触发
发布评论