Azure Data Factory - HTTP Connectors

Wadhwa, Dinesh 21 Reputation points
2020-08-17T13:33:03.733+00:00

Hi

I am working in Azure Data Factory and doing "Copy Data Activity from HTTP Connector".

It works for me but only the first page is getting saved into the database table. My question is how to do pagination in HTTP connector.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,461 questions
0 comments No comments
{count} votes

Accepted answer
  1. MartinJaffer-MSFT 26,076 Reputation points
    2020-08-17T23:41:05.623+00:00

    Hello @Wadhwa, Dinesh and thank you for your question. Pagination is tricky to implement in Azure Data Factory, currently. Before jumping into implementing a solution, I would like to let you know a few things.

    The HTTP connector does not have any pagination built-in.
    The REST connector has very limited pagination ability.

    You can create a feature request to add pagination to HTTP Connector, or upvote an existing feature request at the feedback forum.

    Depending upon the pagination mechanism your endpoint uses, we can do a work-around. Link to a related, but not exact workaround.

    The work-around involves looping over the page numbers, each a separate copy action. Since your sink is a database, the work-around is easier to implement because we do not need to worry about overwriting files.

    Please let me know which path you want to take (REST, HTTP loop work-around, feature request, or other). If you would like me to assist you in crafting a solution, please tell me how your website paginates.

    Thank you for your patience,
    Martin


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.