首页 文章

Azure Data Factory管道的多个接收器

提问于
浏览
0

在Azure数据工厂管道中,我可以使用两个SINK进行复制活动吗?我有一个源和2个接收器(一个Azure Data Lake存储库用于下游处理,另一个用于Blob存储存档) .

1 回答

  • 6

    这绝对是可能的 . 只需在同一个管道中添加第二个活动,其中包含相同的输入数据集,但输出数据集不同 .

    然后JSON将如下所示:

    {
        "$schema": "http://datafactories.schema.management.azure.com/schemas/2015-09-01/Microsoft.DataFactory.Pipeline.json",
        "name": "CopyActivity1",
        "properties": {
            "description": "Copy data from blob to a sql server table",
          "activities": [
            {
              "name": "CopyActivityTemplate",
              "type": "Copy",
              "inputs": [
                {
                  "name": "AzureBlobLocation1"
                }
              ],
              "outputs": [
                {
                  "name": "AzureSqlTableLocation1"
                }
              ],
              "typeProperties": {
                "source": {
                  "type": "BlobSource"
              },
            },
            {
              "name": "CopyActivityTemplate2",
              "type": "Copy",
              "inputs": [
                {
                  "name": "AzureBlobLocation1"
                }
              ],
              "outputs": [
                {
                  "name": "AzureSqlTableLocation2"
                }
              ],
              "typeProperties": {
                "source": {
                  "type": "BlobSource"
                },          
              },
            }
          ],
            "start": "2016-12-05T22:00:00Z",
            "end": "2016-12-06T01:00:00Z"
        }
    }
    

相关问题