简体   繁体   English

如何在 Azure 数据工厂中对 API 数据传输进行 Blob 存储?

[英]How to do a Blob storage to API data transfer in Azure Data Factory?

I'm doing a POC that taking data from a csv file which is inside the Blob storage and do some mappings or transformations and send it to a Rest API (POST).我正在做一个 POC,它从 Blob 存储内部的 csv 文件中获取数据,并进行一些映射或转换并将其发送到 Rest API (POST)。 I used a Lookup and web activities for this.为此,我使用了 Lookup 和 web 活动。 But we can't do any transformation with these two.但是我们不能对这两个进行任何转换。 I thought of doing transformation with a DataFlow Activity and save it to Blob again and used Lookup and Web activities to do the rest.我想用 DataFlow Activity 进行转换并将其再次保存到 Blob 并使用 Lookup 和 Web 活动来执行 rest。 I have two questions.我有两个问题。

  1. Is there any other way to do this Blob to API copy?有没有其他方法可以将此 Blob 复制到 API 副本?
  2. Does Web activity has 1 min of execution time? Web 活动是否有 1 分钟的执行时间?

Thanks谢谢

Is there any other way to do this Blob to API copy?有没有其他方法可以将此 Blob 复制到 API 副本?

No, Data Factory doesn't support Rest API as Sink dataset.不,数据工厂不支持将 Rest API 作为接收器数据集。 We only could get data from REST API and can not transfer data to it.我们只能从 REST API 中获取数据,无法向其传输数据。 Ref: Azure Data Factory connector overview参考: Azure 数据工厂连接器概述在此处输入图像描述

Does Web activity has 1 min of execution time? Web 活动是否有 1 分钟的执行时间?

Yes, REST endpoints that the web activity invokes must return a response of type JSON.是的,web 活动调用的 REST 端点必须返回 JSON 类型的响应。 The activity will timeout at 1 minute with an error if it does not receive a response from the endpoint.如果没有收到来自端点的响应,该活动将在 1 分钟后超时并出现错误。

Ref: Web activity in Azure Data Factory .参考: Azure 数据工厂中的 Web 活动

Hope this helps.希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure 数据工厂到 Azure Blob 存储权限 - Azure Data Factory to Azure Blob Storage Permissions Azure blob 存储 - SAS - 数据工厂 - Azure blob storage - SAS - Data Factory 如何从 Azure 数据工厂重命名 Blob 存储文件? - How to rename a blob storage file from Azure Data Factory? 如何从 Azure 数据工厂中的 blob 存储中解压缩.gz 文件? - How to unzip .gz file from blob storage in Azure Data Factory? 如何在 Blob 存储上使用 JSON 作为 Azure 数据工厂的参数? - How to use JSON on Blob Storage as parameter for Azure Data Factory? 如何为Azure数据工厂链接服务中的Azure表存储/ blob动态动态提供连接字符串 - How to provide connection string dynamically for azure table storage/blob storage in Azure data factory Linked service 如何使用Azure数据工厂获取Sharepoint数据并将其加载到Azure Blob存储中? - How to fetch Sharepoint data and load into Azure Blob Storage using Azure Data Factory? 如何使用数据工厂将数据从 Azure Blob 存储增量加载到 Azure SQL 数据库? - How to incrementally load data from Azure Blob storage to Azure SQL Database using Data Factory? 从Azure数据工厂访问Azure Blob存储帐户 - Access Azure Blob storage account from azure data factory 将 Azure blob 存储文件名保存到 Sql 表 - Azure 数据工厂 - Save Azure blob storage filename to Sql table - Azure Data Factory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM