concept activity in category azure

appears as: activities, The activity, Activities, ctivities, n activity, ctivity, activity, The activities
Azure Storage, Streaming, and Batch Analytics: A guide for data engineers

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 dependsOn element holds an array of JSON elements, each with an activity and dependencyCondition element. The activity element is the name of another activity in the pipeline. The dependencyCondition has 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. Succeeded is the default in the authoring UI. Here you can see a dependsOn snippet for an activity that follows activity Copy1 when it succeeds.

    "dependsOn": [
      {
        "activity": "Copy1",
        "dependencyConditions": [
          "Succeeded"
        ]
      }
    ]

    The typeProperties element has the greatest variety of implementations. For copy activities, it has three elements: source, sink, and enableStaging. The source and sink align 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. The source element can be configured to select files from the current directory, defined in the dataset, and from child folders using the recursive flag.