Reputation: 83
I am using Azure Synapse and want to trigger a pipeline only when certain number of events occur. I referred to https://learn.microsoft.com/en-us/azure/data-factory/how-to-create-custom-event-trigger and was able to trigger a pipeline when 1 event is pushed to the event grid topic.
But is there a way to trigger the pipeline only when >1 events are pushed to event grid topic ?
Example:
event E1 is published to event grid at 10am || event E2 is published to event grid at 11am
I want my synapse pipeline to be triggered at/after 11am.
Upvotes: 0
Views: 494
Reputation: 8245
The requested feature is not built in the Azure Event Grid. The following screen snippet shows an example how can be done using the Azure Stream Job in the generic manner:
As the above picture shows, the events (E1, E2, etc.) are ingested into the destination resource such as the Azure Event Hub and then analysed by stream job for triggering based on the needs.
Upvotes: 0