concept activity in category azure

This is an excerpt from Manning's book Azure Storage, Streaming, and Batch Analytics: A guide for data engineers.
In this chapter, you’ll learn about another Azure data source. Event Hubs exposes a high-throughput endpoint for ingesting and serving event messages. Events messages record the activities of modern applications as a time-based series of event data. Producers generate event messages, and consumers process event messages. Event Hubs forms the bridge between the two. In this way, Event Hubs decouples the producers from the consumers. By decoupling ingestion from consumption, Event Hubs allows multiple producers to communicate with multiple consumers.
Each task is called an activity.
You can get configuration details for each type of activity from the ADF How-to guides at docs.microsoft.com/azure/data-factory/.
The
dependsOnelement holds an array of JSON elements, each with anactivityanddependencyConditionelement. Theactivityelement is the name of another activity in the pipeline. ThedependencyConditionhas one of four values:Completed,Failed,Skipped,Succeeded. With these values, you can create pipeline flows that handle multiple scenarios. For example, you may want to call an Azure Function or web hook to be notified of a certain failure. You could add a second copy activity that only copies if the first succeeded. Or you could continue after external website calls regardless of outcome.Succeededis the default in the authoring UI. Here you can see adependsOnsnippet for an activity that follows activityCopy1when it succeeds."dependsOn": [ { "activity": "Copy1", "dependencyConditions": [ "Succeeded" ] } ]The
typePropertieselement has the greatest variety of implementations. For copy activities, it has three elements:source,sink, andenableStaging. Thesourceandsinkalign with the datasource and the linkedservice driving the activity. The following snippet copies from the Azure Files service without reading and translating the data. It writes to an ADLS store in the same mode. Thesourceelement can be configured to select files from the current directory, defined in the dataset, and from child folders using therecursiveflag.