Quick revision
The short answer
I would give every event stream a domain owner who is responsible for its schema, quality and documentation, and make the schema registry plus a data catalogue the source of truth for contracts, classification and lineage. Data is classified at schema level, for example personal or confidential, and access is controlled per topic. Internal events are kept separate from published data products, which carry stronger stability guarantees. And the owners are funded for this work, because data products without funded owners decay.
What to remember
In this answer, we set up governance for event data used across the company. Each stream has a domain owner responsible for schema, quality and documentation; the schema registry and a catalogue are the source of truth for contracts, classification and lineage; data is classified at schema level and access controlled per topic; internal events are separated from published data products with stronger guarantees; and owners are funded, because unfunded data products decay.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
I would give every event stream a domain owner who is responsible for its schema, quality and documentation, and make the schema registry plus a data catalogue the source of truth for contracts, classification and lineage. Data is classified at schema level, for example personal or confidential, and access is controlled per topic. Internal events are kept separate from published data products, which carry stronger stability guarantees. And the owners are funded for this work, because data products without funded owners decay.
Why this question is asked
When analytics, machine learning and partner feeds start reading Kafka topics directly, events stop being an internal detail of one service and become a company asset that many people depend on. Without governance, a field rename breaks a partner feed, a model trains on data nobody understands, and personal data ends up where it should not. Interviewers ask this question to see whether a senior leader can set up ownership and rules that last for years, not just a tool. In this answer, we will look at what changes when events become shared data, then set up ownership, the source of truth, classification and access, the split between internal events and data products, and the funding that keeps it alive.
1What Changes When Events Become Shared Data
Inside a service team, an event is designed for the next consumer down the line, usually another service built by people the producer knows. A rename can be coordinated over chat. Once a data science team trains a model on that topic, a business unit builds revenue dashboards on it, and a partner receives a feed derived from it, the producer no longer knows all its consumers, and some of them cannot change quickly.
The questions also change. Consumers want to know what a field means, how complete the data is, how late it can arrive, whether it contains personal data, and who to call when it looks wrong. Those are questions of ownership and contract, and a topic name alone answers none of them.
2A Domain Owner for Every Stream
The foundation is ownership by domain: the team that owns the business capability, such as Orders or Payments, owns the events it publishes. It is responsible for the schema, the meaning of every field, data quality targets such as completeness and freshness, documentation, and answering consumers' questions. A central data team does not own the content, because it cannot know what an order status means as well as the Orders team does.
Ownership is recorded, not assumed. Every topic has an owning team in the platform's metadata, and a topic without an owner cannot be published to production. When teams reorganise, ownership is transferred explicitly, so no stream becomes an orphan.
3The Registry and Catalogue as the Source of Truth
Contracts need one place to live. The schema registry holds the technical contract: every schema version and its compatibility rules. A data catalogue sits on top and holds the business contract: descriptions of each stream and field, owner, classification, quality targets and lineage, meaning where the data comes from and which downstream datasets, models and feeds are built from it.
Lineage is what makes change safe. Before the Orders team removes a field, the catalogue shows that a churn model and a partner feed read it, so those owners are consulted first. Much of this metadata can be generated automatically from the registry, consumer group information and pipeline definitions, so it stays accurate.
- Consumersservices, analytics, ML, partner feeds
- Data productspublished, versioned, stability promises
- Catalogueowners, descriptions, classification, lineage
- Schema registryversions and compatibility rules
- Kafka topics with ACLsaccess per topic, per principal
- Domain teamsown and fund their streams
6 layers, from the top down. Step through them one at a time.
4Classification and Access Control
Data protection rules apply to events as much as to databases. So we classify data at the schema level: each field, or at least each schema, is tagged with a class such as public, internal, confidential or personal. The tags live in the schema or the catalogue, so tools can find every topic that carries personal data, for example to answer a deletion request or an audit.
Access is then controlled per topic with Kafka ACLs or the platform's access system, based on classification. Internal topics are readable by approved service accounts; topics with personal data require a justified request and may be restricted to specific consumer groups. For analytics and partners, a common pattern is to publish a derived topic with personal fields removed or pseudonymised, so wide access never touches the raw data.
| Class | Example field | Who may read the topic |
|---|---|---|
| Public | productCategory | Any approved consumer |
| Internal | orderStatus | Internal services and analytics |
| Confidential | marginAmount | Named teams, approved request |
| Personal | email, address | Named services; analytics only via a pseudonymised product |
5Internal Events Versus Published Data Products
Not every topic should carry the same promises. Internal events are designed for the domain's own services and change as the domain changes, with normal compatibility rules. Published data products are topics or datasets designed for wide use, such as an Orders data product for analytics and partners. They have a stable, documented schema, stronger compatibility such as FULL_TRANSITIVE, a deprecation policy with notice periods, and published quality targets.
This split protects both sides. Domain teams can keep evolving internal events without negotiating with every analyst, and consumers of data products get the stability they need. A data product is often built by a small stream job that reads internal events and publishes the curated topic, and that job is owned by the same domain team.
6Fund the Owners or It Decays
Governance fails quietly when it is extra work nobody is paid for. Documentation goes stale, quality targets are missed, and the catalogue fills with streams nobody answers for. So data product ownership is planned work: domain teams get capacity for it in their roadmap, data products have measurable targets reviewed like service levels, and consumers' needs are part of prioritisation.
Leaders can make this concrete by reporting on data products as on services: freshness, quality incidents, breaking changes and consumer satisfaction per domain. Where a stream has no funded owner, it is either assigned one or retired with notice. A smaller set of well-owned data products is worth far more than a large catalogue of abandoned topics.
7Follow-up questions
Who decides what becomes a published data product?
Demand and the domain owner together. When several consumers outside the domain need the same data, or a partner feed needs a stable contract, the domain team publishes a data product for it. A small governance group can review proposals for naming, classification and overlap, but the domain team builds and owns it.
How do you introduce this without stopping teams' work?
Start with the highest-value and highest-risk streams: those feeding finance reports, models in production and partner feeds, and those containing personal data. Apply ownership, classification and data-product rules there first, with tooling that automates metadata. Expand once the pattern has shown it reduces incidents.
What about events that analytics teams copy into a warehouse?
The same classification and lineage follow the data into the warehouse. The connector or pipeline that copies it is registered in the catalogue, access controls in the warehouse mirror the topic's class, and deletion requests must reach the copies too.
8Conclusion
In this answer, we set up governance for event data used across the company. Each stream has a domain owner responsible for schema, quality and documentation; the schema registry and a catalogue are the source of truth for contracts, classification and lineage; data is classified at schema level and access controlled per topic; internal events are separated from published data products with stronger guarantees; and owners are funded, because unfunded data products decay.
Open with
Once events feed analytics, machine learning and partners, they're a company asset, and I'd govern them like one, mainly through ownership and contracts rather than a central gatekeeper.
Then, if they want more
Every stream gets a domain owner, the team that owns the business capability, responsible for the schema, the meaning of fields, quality targets and documentation.
The schema registry holds the technical contract, versions and compatibility, and a data catalogue holds the business side: descriptions, owner, classification and lineage, so before anyone changes a field we can see which models and feeds depend on it.
Classification happens at the schema level, marking fields as internal, confidential or personal, and access is controlled per topic based on that, with pseudonymised derived topics for wide analytics access. I'd separate internal events, which domains can evolve normally, from published data products, which have stable schemas, stricter compatibility like FULL_TRANSITIVE, deprecation notice periods and published quality targets.
And critically, I'd fund the owners. Data products need roadmap capacity and targets reviewed like service levels, because without funded owners documentation goes stale and quality decays. I'd start with the streams that carry the most risk, like finance, production models, partner feeds and personal data, and expand from there.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- Apache Kafka documentation, Spring for Apache Kafka reference
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Business units now want to use Kafka events directly for analytics, machine learning and...": https://scrivio-interview-library.netlify.app/spring-boot/kafka/a4b52c3c5a/