Skip to content

Commit fa370d7

Browse files
Merge pull request #292035 from jonburchel/patch-1
Update how-to-create-custom-event-trigger.md
2 parents a131217 + 67f11b6 commit fa370d7

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

articles/data-factory/how-to-create-custom-event-trigger.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ author: kromerm
66
ms.author: makromer
77
ms.reviewer: jburchel
88
ms.topic: conceptual
9-
ms.date: 01/05/2024
9+
ms.date: 12/16/2024
10+
ai-usage: ai-assisted
1011
---
1112

1213
# Create a custom event trigger to run a pipeline in Azure Data Factory
1314

1415
[!INCLUDE[appliesto-adf-asa-md](includes/appliesto-adf-asa-md.md)]
1516

17+
Event triggers in Azure Data Factory allow you to automate the execution of pipelines based on specific events occurring in your data sources. This is a key feature of event-driven architecture, enabling real-time data integration and processing.
18+
1619
Event-driven architecture is a common data integration pattern that involves production, detection, consumption, and reaction to events. Data integration scenarios often require Azure Data Factory customers to trigger pipelines when certain events occur. Data Factory native integration with [Azure Event Grid](https://azure.microsoft.com/services/event-grid/) now covers [custom topics](../event-grid/custom-topics.md). You send events to an Event Grid topic. Data Factory subscribes to the topic, listens, and then triggers pipelines accordingly.
1720

1821
The integration described in this article depends on [Azure Event Grid](https://azure.microsoft.com/services/event-grid/). Make sure that your subscription is registered with the Event Grid resource provider. For more information, see [Resource providers and types](../azure-resource-manager/management/resource-providers-and-types.md#azure-portal). You must be able to do the `Microsoft.EventGrid/eventSubscriptions/` action. This action is part of the [EventGrid EventSubscription Contributor](../role-based-access-control/built-in-roles.md#eventgrid-eventsubscription-contributor) built-in role.
@@ -25,6 +28,16 @@ If you combine pipeline parameters and a custom event trigger, you can parse and
2528
> [!IMPORTANT]
2629
> If a key referenced in parameterization is missing in the custom event payload, `trigger run` fails. You get a message that states the expression can't be evaluated because the `keyName` property doesn't exist. In this case, **no** `pipeline run` is triggered by the event.
2730
31+
## Event and trigger use cases
32+
33+
Triggers can be fired by various events, including:
34+
35+
**Blob Created**: When a new file is uploaded to a specified container.
36+
**Blob Deleted**: When a file is removed from the container.
37+
**Blob Modified**: When an existing file is updated.
38+
39+
You can use events to dynamically control your pipeline executions. For example, when a new data file is uploaded to the 'incoming' folder in Azure Blob Storage, a trigger can automatically start a pipeline to process the data, ensuring timely data integration.
40+
2841
## Set up a custom topic in Event Grid
2942

3043
To use the custom event trigger in Data Factory, you need to *first* set up a [custom topic in Event Grid](../event-grid/custom-topics.md).

0 commit comments

Comments
 (0)