Prerequisites
- !Why a centralised data team becomes a bottleneck
- !What a data product means in practice
- !Basic Azure platform building blocks like storage, compute and identity
What You'll Learn
- 1State the four principles of data mesh and what problem each one solves
- 2Define a data product with an owner, interface, SLA and support model
- 3Build a self-serve platform that lowers the cost of publishing rather than raising it
- 4Set up federated computational governance that enforces without centralising delivery
- 5Recognise when data mesh is the wrong answer for an organisation
What problem the mesh is solving
Data mesh is an organisational answer to a technical symptom. Central teams accumulate every request, backlog grows, analysts reach around the platform into source systems, and the resulting copies have no owner. Adding engineers to the central team delays the backlog without changing its cause, which is that the people who understand the data are not the people permitted to publish it.
The mesh proposal is to move ownership of data to the domains that create it. Finance owns financial data, marketing owns campaign data, and each domain publishes what others may consume. The central team stops being a delivery function and becomes a platform function, building the tooling that makes publishing cheap and safe.
Four principles hold it together: domain ownership of data, data as a product, a self-serve platform, and federated computational governance. Removing any one produces a known failure. Without data as a product you get domains dumping files with no interface. Without a self-serve platform you get every domain building the same pipeline tooling. Without federation you get either chaos or a central team by another name.
| Principle | What it changes | Failure without it | Azure building blocks |
|---|---|---|---|
| Domain ownership | Domains create and serve their own data | Central bottleneck persists | Per-domain subscriptions, RBAC, namespaces |
| Data as a product | Interfaces, quality and support become requirements | Files with no contract or owner | Unity Catalog, Purview, API management |
| Self-serve platform | Publishing costs less than copying | Every domain reinvents ingestion | ADF, Databricks, ADLS patterns, templates |
| Federated governance | Policy is code, applied uniformly | Inconsistent or absent controls | Azure Policy, Purview classification, CI gates |
What makes something a data product
A data product is not a table that happens to be shared. It has an explicit interface, a stated quality level, an owner who answers questions, and a versioning policy. The test is simple: could a consumer outside the domain use it without a conversation with the author. If the answer is no, what exists is an internal artefact rather than a product.
The interface has two halves. The physical interface is the storage path, table name, schema and access mechanism. The semantic interface is the meaning of each field, the grain of the table, the units, the null semantics and the refresh cadence. Most disputes between domains are semantic, not physical, which is why a documented grain prevents more arguments than a schema registry does.
Support is the part organisations skip. Someone must answer when a consumer thinks the numbers look wrong. If nobody is accountable, consumers quietly build their own extraction and the mesh degenerates into the shadow copies it was meant to prevent. Assigning a domain channel and a response expectation makes the product real.
{
"product": "finance.general_ledger_daily",
"owner": { "domain": "finance", "team": "data-finance", "channel": "#data-finance-support" },
"grain": "one row per account and posting date",
"interface": {
"storage": "abfss://[email protected]/finance/general_ledger_daily",
"format": "parquet",
"table": "finance_gold.general_ledger_daily",
"access": "unity_catalog_grant"
},
"quality": {
"completeness_sla": 0.999,
"latency_minutes": 60,
"checks": ["not_null(account_id)", "unique(account_id, posting_date)", "accepted_values(currency, ['USD','EUR','GBP'])"]
},
"versioning": { "policy": "additive_only", "notice_days": 30 },
"retention_days": 2555
}
A manifest like this is deliberately machine-readable. It can be validated in a pipeline, registered in a catalogue, and diffed in review, which is what federated computational governance means in practice: the rules are executable rather than documented.
The self-serve platform is a product too
The platform team's customer is the domain team. Its success metric is time to publish, not features shipped. A domain should be able to take a template repository, connect a source, define a contract and have a governed pipeline running without filing a ticket for each step.
On Azure that platform looks like reusable building blocks: a landing zone per domain with pre-approved network and identity patterns, template pipelines parameterised by source, a standard folder layout, automated quality checks, and catalogue registration wired into the deployment. The point is that the correct path and the easy path are the same path, because teams route around friction every time.
Guardrails belong in the platform rather than in review meetings. Network isolation, encryption defaults, required tags, prohibited public endpoints and mandatory classification are all expressible as Azure Policy, applied at the management group, and they apply to future domains automatically. A platform that relies on human review for these will eventually be bypassed.
Federated governance without a bottleneck
Federation means domains set standards together and the platform enforces them automatically. The central governance group owns the definitions: what counts as personal data, what quality thresholds a product must meet, how long each class of data is retained. Domains implement those rules in their own pipelines and the rules are verified in continuous integration.
The practical mechanism is a small set of shared standards plus automated verification. A pull request that adds a pipeline without a contract file, without a quality check or without an owner tag fails the build. That converts governance from a review queue into a property of the delivery process, which is the only version that scales.
Cost is a governance topic too. When domains own their data they should also see their platform spend, because an unmetered platform encourages careless compute. Per-domain cost allocation using tags and budgets makes the trade-off visible to the people who can act on it.
# Policy as code, verified in CI for every domain repository
policies:
- id: require-owner
description: Every dataset declares a owning team
severity: error
check: metadata.owner != null
- id: require-classification
description: Classification label present on every published table
severity: error
check: metadata.classification in ["public", "internal", "confidential", "restricted"]
- id: require-quality-tests
description: At least one not-null and one uniqueness test
severity: error
check: len(quality.tests) >= 2
- id: additive-schema-changes-only
description: Breaking changes need a major version bump
severity: error
check: schema.diff.is_additive or version.bumped == "major"
Reviewing these rules should happen rarely. If a rule needs changing, the change goes through the same federated process as everything else and lands as code, not as a memo.
Boundaries between domains and the question of sharing
Cross-domain consumption happens through published products, never through direct reads of another domain's raw zone. That single rule is what preserves ownership. When a consumer needs something that does not exist, the correct path is a request to the owning domain to publish it, not a new pipeline reaching into someone else's storage.
Ambiguous ownership is the practical difficulty. A customer record touched by marketing, sales and support will not be claimed cleanly. The resolution is a system of record: one domain owns the master entity, others own their projections, and lineage shows where a value originated. Purview's lineage is useful here precisely because it makes the actual flow visible rather than the intended one.
When not to adopt a mesh
A small organisation with one data team and one product should not run a mesh. The coordination cost of domains, products and federation exceeds the benefit, and a well-run central team is faster. Mesh also struggles where domains have no engineering capability and no budget to acquire one, because ownership without capability produces stale products.
The honest framing for an interview is that mesh is a response to scale and to domain divergence. If your central team is not yet a bottleneck and your domains are not genuinely distinct, the simpler architecture wins. Adopting the vocabulary without the ownership merely renames the existing problem.
Common Mistakes
Announcing a mesh while keeping delivery in the central team
Fix: Move both ownership and the budget for operating the data product to the domain, or the structure is cosmetic
Defining a data product as any shared table
Fix: Require an owner, a documented grain, quality checks and a support channel before a dataset may be published
Letting consumers read another domain's raw zone
Fix: Route all cross-domain access through published products so ownership and contracts stay meaningful
Enforcing governance through review meetings
Fix: Express rules as policy and as CI checks so they apply automatically to every domain and every future repository
Best Practices
- Measure platform success by time to publish for a new domain
- Keep the number of standards small enough that domains can memorise them
- Give domains visibility of their own compute spend
- Use lineage to settle ownership disputes with evidence rather than opinion
Interview Questions
Q1: What are the four principles of data mesh?
Domain ownership of data, data treated as a product, a self-serve platform, and federated computational governance.
Q2: What distinguishes a data product from a shared table?
It has an explicit physical and semantic interface, a stated quality level, a named owner who supports it, and a versioning policy, so an outside consumer can use it without consulting the author.
Q3: How is governance federated rather than centralised?
Domains agree standards jointly and implement them in their own pipelines, while the platform enforces them automatically through policy and CI checks instead of a review queue.
Q4: What role does the platform team play?
It builds and operates the reusable tooling, templates and guardrails that make publishing cheap, and it is measured by time to publish rather than by features shipped.
Q5: When would you not recommend data mesh?
For a small organisation with one data team, or where domains lack engineering capability, because the coordination and operating cost exceeds the benefit and a competent central team is faster.
Key Takeaways
- Mesh moves ownership to domains because central delivery does not scale past a point
- A data product needs an interface, a quality promise, an owner and support to be real
- Self-serve success is measured in time to publish, and guardrails belong in the platform
- Federated governance means rules as code applied automatically, not meetings
- Without domain engineering capability, ownership without capability produces stale products