<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Janani Sivasankar on Medium]]></title>
        <description><![CDATA[Stories by Janani Sivasankar on Medium]]></description>
        <link>https://medium.com/@janani.sivashankar?source=rss-405e46139e8a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Janani Sivasankar on Medium</title>
            <link>https://medium.com/@janani.sivashankar?source=rss-405e46139e8a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:09:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@janani.sivashankar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ADF Is More Than ETL: Exploring Azure Data Factory as an Application Orchestration Layer]]></title>
            <link>https://medium.com/@janani.sivashankar/adf-is-more-than-etl-exploring-azure-data-factory-as-an-application-orchestration-layer-11f86fd040f1?source=rss-405e46139e8a------2</link>
            <guid isPermaLink="false">https://medium.com/p/11f86fd040f1</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[azure-data-factory]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Janani Sivasankar]]></dc:creator>
            <pubDate>Wed, 16 Sep 2026 05:31:00 GMT</pubDate>
            <atom:updated>2026-09-16T05:31:00.052Z</atom:updated>
            <content:encoded><![CDATA[<p>Azure Data Factory is widely associated with data integration, ETL, and data movement. Those remain its primary use cases.</p><p>But during a recent POC, I explored a slightly different question:</p><p><strong>Can Azure Data Factory also serve as an orchestration layer around an existing application?</strong></p><p>The problem was not simply moving data from one system to another. The application already handled the processing and business logic. What was missing was a mechanism to coordinate a multi-stage workflow where execution could pause for an external decision before continuing.</p><p>That made ADF an interesting candidate to explore.</p><p>Rather than moving business logic into the pipeline, the approach was to position ADF around the application and let each platform do what it is best suited for.</p><h3>The Problem: Coordination Across Application Stages</h3><p>The workflow was essentially:</p><p><strong>Start → Initial Processing → Approval Checkpoint → Downstream Processing → Completion</strong></p><p>The approval checkpoint was the interesting part.</p><p>Once the initial processing reached a particular state, the workflow had to wait. An operator could approve the execution, allowing it to continue, or reject it, terminating the downstream path.</p><p>This introduced several orchestration concerns:</p><ul><li>Invoking the application</li><li>Tracking execution state</li><li>Waiting for an external condition</li><li>Branching based on a decision</li><li>Coordinating subsequent processing</li><li>Maintaining visibility of the overall execution</li></ul><p>The application already owned the domain processing, so duplicating that logic inside ADF would have created the wrong abstraction.</p><p>The architectural question therefore became:</p><blockquote><strong><em>How much of the workflow can ADF coordinate without becoming responsible for the application itself?</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RdjDT_hT8LKBdi0JlPb0GQ.png" /></figure><h3>ADF as an Orchestration Layer</h3><p>The POC used a relatively small set of ADF capabilities, but their combination was more interesting than any individual activity.</p><p><strong>Web Activity</strong> provided the integration boundary with the application.</p><p><strong>Until and Wait activities</strong> allowed ADF to react to application state rather than assuming that every operation would complete immediately.</p><p><strong>If Condition</strong> provided workflow-level branching.</p><p><strong>Execute Pipeline</strong> allowed the overall workflow to be decomposed into smaller orchestration units.</p><p>Parameters and dynamic expressions kept execution-specific information outside the pipeline definition.</p><p>The important idea was not the activities themselves, but how they could be composed into an orchestration model around an external application.</p><p>ADF did not need to reproduce the application’s internal state machine. It only needed enough information to determine whether the workflow could progress.</p><h3>State-Driven Orchestration</h3><p>This was probably the most interesting aspect of the POC.</p><p>In a conventional pipeline, the dependency is usually straightforward:</p><p><strong>Activity A completes → Activity B starts.</strong></p><p>With an external application, the dependency can instead be:</p><p><strong>Application reaches state X → orchestrator continues.</strong></p><p>For example, the application could expose a status response:</p><pre>{<br>  &quot;runId&quot;: &quot;Billing-007&quot;,<br>  &quot;currentStage&quot;: &quot;Initial Processing&quot;,<br>  &quot;status&quot;: &quot;WaitingForApproval&quot;<br>}</pre><p>ADF can periodically query that state and evaluate whether the required condition has been reached.</p><p>The resulting pattern is:</p><p><strong>Observe → Wait → Observe → Decide → Continue</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F_jl-IbrgtTBaI0M3rMO7Q.png" /></figure><p>This reinforces an important architectural principle: <strong>the application remains the source of truth for its execution state</strong>.</p><p>ADF consumes that state for orchestration rather than attempting to own it.</p><p>This separation allows the application to evolve its internal processing without requiring the orchestration layer to understand every implementation detail.</p><h3>Human Approval as an External Event</h3><p>Human approval introduces another dimension to the workflow.</p><p>The orchestrator cannot manufacture a human decision. It can only react to one.</p><p>For the POC, approval was simulated through pipeline parameters so that both approval and rejection paths could be exercised consistently.</p><p>The production-oriented architecture would separate the approval experience from ADF. An operator-facing mechanism would record the decision, the application would reflect the resulting state, and ADF would react to that state.</p><p>That distinction matters.</p><p><strong>ADF coordinates the decision’s consequences. It does not need to become the application responsible for managing the decision itself.</strong></p><p>This keeps the human interaction, business state, and orchestration responsibilities separate.</p><h3>Parameterization and Runtime Context</h3><p>Another useful part of the design was keeping execution context separate from the pipeline definition.</p><p>Values such as:</p><pre>runId<br>apiBaseUrl<br>approval1Decision<br>approval2Decision</pre><p>were supplied as parameters rather than embedded directly into activities.</p><p>That allowed API requests to be constructed dynamically.</p><p>For example:</p><pre>@concat(<br>    pipeline().parameters.apiBaseUrl,<br>    &#39;/api/Approval/status/&#39;,<br>    pipeline().parameters.runId<br>)</pre><p>The distinction is subtle but important:</p><blockquote><strong><em>The pipeline defines the orchestration. Runtime parameters define the execution.</em></strong></blockquote><p>This makes the same orchestration definition usable across different executions and environments without modifying the workflow itself.</p><p>It also makes execution context explicit, which becomes particularly important when multiple systems need to correlate the same workflow instance.</p><h3>Composition Instead of One Large Pipeline</h3><p>As the workflow grew, another architectural concern appeared: how much should one pipeline own?</p><p>Rather than putting every operation into a single definition, the workflow could be divided into parent and child pipelines.</p><p>The parent pipeline represents the broader journey, while a child pipeline can encapsulate a downstream orchestration segment.</p><p>This provides a natural separation between <strong>workflow composition</strong> and <strong>workflow implementation</strong>.</p><p>It also makes the orchestration easier to reason about as the number of stages grows.</p><p>The goal is not simply to create more pipelines. It is to establish meaningful boundaries so that each pipeline has a clear orchestration responsibility.</p><h3>Where ADF Fits, and Where It Doesn’t</h3><p>The POC demonstrated that ADF can coordinate application-centric workflows when the workflow can be expressed through APIs, explicit states, conditional transitions, and controlled waiting.</p><p>But that does not mean ADF should become a general-purpose workflow engine.</p><p>ADF is a strong fit when the orchestration naturally aligns with pipeline concepts and the surrounding ecosystem already uses Azure data and integration services.</p><p>For highly interactive, long-running human workflows with complex state machines and sophisticated approval requirements, another workflow technology may provide a more natural model.</p><p>The useful question is therefore not:</p><blockquote><strong><em>Can ADF do this?</em></strong></blockquote><p>It is:</p><blockquote><strong><em>Is ADF the right place for this responsibility?</em></strong></blockquote><p>That is a much better architectural question.</p><h3>Production Considerations</h3><p>A POC can deliberately simplify things. A production implementation would need to address several areas more rigorously.</p><h3>Authentication and Authorization</h3><p>Application APIs should use an appropriate identity and access model rather than relying on simplified POC connectivity.</p><h3>Approval Integration</h3><p>A real operator-facing approval mechanism would replace parameter-based simulation.</p><h3>Failure and Retry Semantics</h3><p>Transient infrastructure failures should be treated differently from business-level rejection or application failures.</p><p>Retries should be designed around the semantics of the operation rather than applied indiscriminately.</p><h3>Polling Strategy</h3><p>Polling intervals should balance responsiveness with API load. Long-running workflows may also require explicit timeout and recovery strategies.</p><h3>State Ownership</h3><p>The application should remain authoritative for domain execution state, while ADF consumes that state to determine workflow progression.</p><h3>Observability</h3><p>Pipeline execution, application state, and cross-system correlation identifiers should be observable together.</p><p>These considerations are what turn a successful POC into a production architecture.</p><h3>The Architectural Takeaway</h3><p>The most useful conclusion from this exploration was not that ADF can call REST APIs.</p><p>It was that <strong>orchestration and execution do not necessarily need to belong to the same system</strong>.</p><p>An application can remain responsible for:</p><ul><li>Business rules</li><li>Domain processing</li><li>Execution state</li><li>Business outcomes</li></ul><p>while ADF coordinates:</p><ul><li>Workflow sequencing</li><li>External API interactions</li><li>Waiting</li><li>Conditional progression</li><li>Pipeline composition</li><li>Orchestration visibility</li></ul><p>That gives us a clean boundary:</p><blockquote><strong><em>The application owns the work. ADF owns the journey.</em></strong></blockquote><p>Used this way, Azure Data Factory starts to look less like merely a data movement tool and more like a platform that can coordinate application workflows in the right circumstances.</p><p>The real architectural question is not whether ADF can orchestrate an application.</p><p><strong>It is where that orchestration belongs.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11f86fd040f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>