Data, AI & Integration · Guide

Azure Data Factory and Data Integration

Defines approved patterns for secure, observable, and portable batch, streaming, CDC, and application data integration.

Document class: Data, AI & Integration implementation guide Normative terms: MUST, MUST NOT, SHOULD, SHOULD NOT, and MAY are requirements levels. Applicability: Batch, streaming, CDC, API, file, and application data integration across Azure, AWS, GCP, and OCI. Exception process: Deviations require a documented risk assessment, compensating controls, named risk owner, and expiry date.

Control fieldValue
Document IDDAI-02
OwnerCloud Center of Excellence
Review cycleAt least annually and after material platform, provider, data, security, or operating-model changes
EvidenceImplementation plan, configuration or code review, validation results, and operational readiness evidence

Decision in brief: Separate connectivity, movement, transformation, and orchestration. Use Azure Data Factory as the Azure reference implementation and preserve portable contracts across clouds.

Purpose

This document defines the enterprise standard for data movement and orchestration, using Azure Data Factory as the Azure reference implementation and mapping the same architectural responsibilities to AWS, GCP, and OCI.

The standard distinguishes four separate concerns: connectivity, movement, transformation, and orchestration. Selecting one tool to perform all four is usually an architectural error.

Integration Pattern Selection

PatternUse whenAvoid when
Scheduled batch copyData can tolerate bounded delay and source supports extractsnear-real-time decisions are required
Change data captureSource logs or change streams are available and order matterssource cannot provide stable keys or log retention
Event streamingProducers emit business events and consumers need low latencyusing events only to compensate for poor batch design
API integrationTransactional request/response and business validation are requiredmoving large historical datasets
File exchangePartner or legacy systems require fileslow-latency or exactly-once behavior is required
Virtualization/federationData should remain at source and query latency is acceptablesource systems cannot support analytical load

Reference Architecture

flowchart LR S1[Databases] --> C[Connectivity runtimes] S2[SaaS and APIs] --> C S3[Files and object stores] --> C S4[Events and streams] --> C C --> O[Orchestration service] O --> M[Movement and CDC] O --> T[Transformation engines] M --> L[Landing and quarantine] L --> T T --> P[Curated data products] Q[Catalog, lineage, quality] --- O Q --- M Q --- T X[Identity, secrets, private network, audit] --- C X --- O

Azure Data Factory SHOULD orchestrate data integration when Azure is the execution environment, but transformations that require large-scale SQL or Spark processing SHOULD run in the appropriate processing engine rather than inside an orchestration construct by default.

Azure Data Factory Architecture Standard

A production Data Factory deployment SHOULD use:

  • separate factories for production and non-production, or equivalent isolation with proven policy boundaries;
  • managed virtual network and managed private endpoints when supported by the source and target;
  • self-hosted integration runtime only for network locations unreachable through managed connectivity;
  • high availability for self-hosted runtimes through multiple nodes;
  • managed identity for Azure resource access;
  • Key Vault references for unavoidable secrets;
  • Git-backed development and pipeline-based promotion;
  • diagnostic logs sent to a central workspace and long-term archive;
  • parameterized linked services, datasets, and pipelines;
  • explicit retry, timeout, concurrency, and failure-routing policies.

A self-hosted integration runtime is a privileged bridge. It MUST be patched, monitored, capacity-tested, and isolated from general user workloads. It MUST NOT be installed on domain controllers, database servers, or shared administrative hosts.

Orchestration Boundaries

The orchestration service coordinates work. It SHOULD NOT contain opaque business logic that cannot be tested independently. Complex transformation logic belongs in versioned SQL, Spark, dbt, Dataflow, Glue, or equivalent code artifacts.

sequenceDiagram participant O as Orchestrator participant S as Source participant L as Landing participant T as Transform engine participant C as Catalog and quality O->>S: Validate source readiness O->>L: Copy or ingest with run identifier O->>L: Verify count and checksum O->>T: Execute versioned transformation T->>C: Publish lineage and quality results C-->>O: Gate result O->>O: Publish status and metrics

Idempotency and Replay

Every integration flow MUST define its replay behavior. Approved approaches include source watermarking, immutable run partitions, deterministic merge keys, deduplication identifiers, event offsets, and transactional checkpoints. A pipeline that can duplicate or lose data after retry is not production-ready.

For batch loads, store the source extract time, pipeline run ID, source watermark, target commit ID, record counts, and checksum or reconciliation result. For CDC and streams, record offsets, sequence numbers, schema versions, and dead-letter disposition.

Data Quality Gates

Quality rules SHOULD execute at multiple stages:

  • ingestion: file integrity, schema readability, malware status, mandatory metadata;
  • standardization: type validity, key presence, duplication, reference-data conformity;
  • curation: business rules, cross-source reconciliation, timeliness, completeness;
  • publication: contract compatibility, consumer-facing SLO, privacy and classification checks.

Failed data MUST be quarantined with enough context to remediate and replay. Silently dropping invalid data is prohibited.

Multi-Cloud Capability Mapping

ResponsibilityAzureAWSGCPOCI
OrchestrationData Factory, Logic Apps, Durable FunctionsStep Functions, MWAA, Glue WorkflowsWorkflows, Cloud ComposerData Integration, Oracle Integration
Batch movementData Factory CopyGlue, DataSync, AppFlowData Fusion, Storage Transfer ServiceData Integration
CDCData Factory connectors, database-native CDCDatabase Migration ServiceDatastreamGoldenGate
Stream transportEvent HubsKinesis, MSKPub/SubStreaming
Stream processingStream Analytics, DatabricksManaged Service for Apache Flink, Glue streaming, EMRDataflow, DataprocData Flow, GoldenGate Stream Analytics patterns
Private hybrid runtimeSelf-hosted integration runtimeDMS agents/connectivity, DataSync agentsData Fusion private connectivity, agents where applicablePrivate endpoints, service gateways, integration agents where applicable

The provider tool is secondary to the contract. A portable integration design defines source and target schemas, checkpoints, error semantics, reconciliation, and observability independently from the orchestration engine.

Network and Identity

Integration services require broad reach and are high-value attack paths. Required controls are:

  1. Deny public access where private endpoints or private service connectivity are feasible.
  2. Restrict outbound destinations through firewall policy, service tags, private service endpoints, or approved proxies.
  3. Use managed identities, IAM roles, workload identity federation, or OCI dynamic groups instead of static keys.
  4. Separate runtime identities by environment and, for sensitive workloads, by domain.
  5. Grant source read and target write permissions narrowly; avoid owner or administrator roles.
  6. Store connector secrets in a managed vault and rotate automatically.
  7. Log connection creation, credential changes, pipeline publication, and data-access failures.

Operational Requirements

At minimum, monitor pipeline success, duration, queue time, throughput, retries, source latency, watermark lag, runtime CPU and memory, connector throttling, target write latency, quality failures, and cost by pipeline or domain.

Alerting SHOULD distinguish transient retryable faults from data-contract violations and platform failures. A generic “pipeline failed” alert without owner, runbook, source, target, and failure category is operationally weak.

Performance and Scale

  • Partition large transfers and test source-system impact.
  • Apply concurrency limits to protect transactional systems.
  • Prefer pushdown or in-engine transformation when it reduces movement and does not violate portability requirements.
  • Compress files and use columnar formats for analytical data.
  • Avoid many tiny files; compact as part of the platform lifecycle.
  • Treat provider quotas and API throttles as design inputs.
  • Load-test self-hosted or private runtimes before production.

CI/CD and Configuration

Factory definitions, integration code, schemas, quality rules, and infrastructure MUST be versioned together or through traceable releases. Environment-specific values belong in deployment parameters, not copied pipeline definitions. Production deployment SHOULD use generated artifacts rather than publishing directly from a developer workstation.

Cross-cutting governance requirements

The platform MUST treat data products, models, prompts, indexes, pipelines, and integration interfaces as governed assets. Each asset requires an accountable owner, classification, lifecycle state, approved consumers, lineage, retention rules, and operational objectives. Platform controls MUST be applied through policy-as-code and infrastructure-as-code rather than manual portal configuration.

Minimum governance controls are:

  1. A business glossary and technical catalog with automated metadata harvesting.
  2. Data classification at ingestion and reclassification after transformation.
  3. End-to-end lineage from source through transformation, model or index, API, and consumer.
  4. Segregation of duties between platform administration, data stewardship, development, and production operations.
  5. Immutable audit logging for administrative actions and access to regulated data.
  6. Explicit retention, archival, legal-hold, and deletion procedures.
  7. Environment promotion with evidence, approval, and rollback capability.
  8. Periodic access recertification and control-effectiveness reviews.

Delivery and lifecycle standard

All deployable resources MUST be represented in version control. A compliant delivery flow is:

flowchart LR A[Architecture decision] --> B[Source control] B --> C[Static validation] C --> D[Unit and contract tests] D --> E[Security and policy checks] E --> F[Deploy to non-production] F --> G[Integration and performance tests] G --> H[Approval and evidence] H --> I[Production deployment] I --> J[Observability and feedback] J --> B

Production changes MUST use repeatable pipelines, short-lived workload identities, peer review, and auditable approvals. Emergency changes require the same evidence retrospectively and MUST not become a parallel operating model.

Integration Runtime Placement Decision

Runtime placement is a security and reliability decision. Select the runtime based on source reachability, data classification, throughput, regionality, and administrative boundary.

Runtime patternAppropriate useRequired controls
Managed public service pathapproved public SaaS or service endpointrestricted identity, TLS, destination validation
Managed private networkAzure services reachable by managed private endpointprivate DNS, endpoint approval, monitoring
Self-hosted enterprise runtimeon-premises or private network sourcededicated hosts, HA nodes, patching, egress control
Domain-specific runtimeregulated or high-throughput domainisolated identity, network, quotas, and ownership
Temporary migration runtimebounded migration windowexpiry, dedicated credentials, teardown evidence

Do not place unrelated trust zones behind one self-hosted runtime merely to simplify connectivity.

Validation

Before production, a data-integration flow SHOULD prove:

  1. Correct source and target identities with no broad administrator access.
  2. Stable watermark, offset, or run-partition behavior.
  3. Idempotent retry and duplicate handling.
  4. Source protection through concurrency and extraction limits.
  5. Schema and contract violation routing.
  6. Count, checksum, or business-control reconciliation.
  7. Quarantine and replay.
  8. Credential rotation and runtime-node loss.
  9. Observability with owner and failure category.
  10. Cost and throughput under representative volume.

Connector Lifecycle

Connectors and drivers have independent versions, authentication methods, certificates, API limits, and deprecations. Maintain an inventory of connector type, version, source owner, credentials, network path, data classes, and support status.

Test connector upgrades with representative source behavior before broad rollout. Monitor provider deprecation notices and certificate changes. A connector that no longer receives security fixes must be removed or isolated under an approved exception.

Change Data Capture Operations

CDC designs MUST document log-retention dependency, bootstrap snapshot, transaction ordering, schema-change behavior, checkpoint recovery, source failover, and resynchronization. Alert when source log retention approaches the unprocessed lag.

A full resnapshot is a controlled migration that can affect source load, target duplicates, and consumer freshness. It requires approval, throttling, reconciliation, and a cutover plan.

Anti-patterns

  • Using a personal account to authorize SaaS connectors.
  • Embedding passwords, tokens, or storage keys in pipeline JSON.
  • Performing large transformations in copy-expression logic that cannot be unit-tested.
  • Creating one global integration runtime with unrestricted access to every network.
  • Reprocessing entire tables because no watermark or CDC design exists.
  • Ignoring source-system locking, workload impact, or API rate limits.
  • Declaring success before reconciliation and quality gates complete.
  • Creating provider-specific pipeline logic without documented exit boundaries.

Implementation Checklist

  • Integration pattern and latency objective are explicit.
  • Source and target contracts are versioned.
  • Replay, deduplication, reconciliation, and quarantine behavior are tested.
  • Runtime placement and network paths are documented.
  • Identity and secretless authentication are used where supported.
  • Git integration and environment promotion are automated.
  • Pipeline, runtime, data-quality, and cost telemetry are centralized.
  • Source-system capacity and throttling have been load-tested.
  • Runbooks cover partial loads, corrupted files, schema drift, and credential failure.

References