Acme Marketing Architecture

4. Connector build vs buy policy

4. Connector build vs buy policy

Date: 2026-10-26

Status

Accepted


Problem

Fabric Data Factory ships a Salesforce connector (Dataflow Gen2, copy activity, copy job with incremental upsert). It ships no HubSpot connector and no Google Ads connector; the connector catalogue offers only marketing aggregators through Dataflow Gen2 (Funnel, Supermetrics, Windsor) and a generic REST connector. Managed SaaS connectors for all three exist at Fivetran. On Databricks Lakeflow Connect the Salesforce connector is mature while the HubSpot and Google Ads connectors are in Beta (checked October 2026), so even on Databricks those two would need a built or bought adapter for production. Open-mirroring partners (CData Sync, Cloud Services) cover Salesforce.

The brief asks how the architecture accommodates new marketing, CRM and advertising platforms, which will arrive. A policy is needed so each new source is a routine decision, not a new debate.


Decision

We will adopt the following policy.

Source class Default Rationale
Salesforce Use the Fabric native connector (copy activity landing incremental windows and bulk history as files) for polling and history; build the CDC consumer in phase 2 if needed Included in the platform; no code; CDC consumer is a small, well-documented component
HubSpot Build a thin adapter (.NET on Azure Functions) implementing the adapter contract: full list extract, incremental search extract with window sizing, webhook receiver, reconciliation count No native connector; webhooks need a public endpoint we control; reload semantics must be ours; API is stable and well documented
Google Ads Build a thin adapter (.NET on Azure Functions) implementing GAQL report pulls with trailing windows, entity snapshots, change_event No native connector; restatement windows must be under our control; the report shape is simple
Future advertising platforms (Meta, LinkedIn, TikTok, Microsoft Ads) Buy first, via a Dataflow Gen2 marketing connector (Funnel, Supermetrics, Windsor) or Fivetran, when report-level daily metrics are all the business needs Ad APIs churn frequently; aggregators absorb that churn and restatements for a flat monthly fee
Future CRM or operational platforms Build when object-level data, deletes, webhooks or reload control are required; otherwise buy Same reasoning as HubSpot

Any bought connector still lands in Bronze through the same provenance columns and is registered in the source registry, so the rest of the pipeline cannot tell the difference (AP-01).

📝 Note (2026-10-26): the runtime of the HubSpot and Google Ads extractors (Azure Functions in .NET or Fabric Python notebooks) is decided by the WP0b PoCs, not by team skills (ADR 8); the webhook receiver, nudge worker and webhook dispatcher stay on Azure Functions in either case.


Considered Options

Option Summary Pros Cons
✅ Use native where it exists, build thin adapters, buy for ad aggregators Mixed policy by source class Lowest total cost; control where control matters (CRM, reload); vendor absorbs churn where it does not (ad platforms) Two or three adapters to maintain; one more skill in the team
Buy everything (Fivetran) Managed connectors for all three sources into OneLake or a warehouse Fastest to launch; schema drift handled; broad catalogue for future sources Monthly-active-row pricing grows with HubSpot event volume; reload is "re-sync", not window-targeted; no control over the webhook path; third party holds all credentials; still need Bronze provenance and reconciliation on top
Buy via Dataflow Gen2 aggregators only Funnel, Supermetrics or Windsor for HubSpot and Google Ads No code; good at ad reports Report-shaped output, not objects; weak for CRM deletes, history and reconciliation; per-source monthly fees; another vendor in the personal-data path
Build everything, including Salesforce Uniform adapters One code base Re-implements a connector Fabric already provides, including bulk and incremental handling
Open mirroring for Salesforce (CData Sync) Near-real-time replica as a mirrored database Low latency; no polling schedule Extra licence; mirrored tables are current-state replicas, not an append-only Bronze; still need history landing. Documented as an alternative to the copy activity if latency needs grow and CDC is unattractive

Consequences

Positive:

Negative / Trade-offs:

Risks: | Risk ID | Description | Impact (E/H/M/L) | Mitigation | |---------|-------------|------------------|------------| | R1 | HubSpot or Google Ads API version deprecations break an adapter | M | Pin versions; deprecation watch in the quarterly review; contract tests against sandbox portals | | R2 | Aggregator vendor changes pricing or drops a platform | L | Bronze provenance makes the vendor swappable; adapters are the fallback |