Scrivio Interview library
LeadershipAdvanced6 min read · updated 12 November 2026

You are defining the Kafka platform standards for 50 teams. What would you standardise about topic naming, partition counts, retention, replication and ownership, and how would you enforce it?

I would standardise a naming convention that encodes domain, data set and version, with an owning team recorded for every topic; safe defaults of replication factor 3, min.insync.replicas 2 and acks=all for important data; and retention or compaction chosen by the topic's purpose, with documented limits and visible cost. Topics are created only through code or a self-service portal with review, never by clients auto-creating them, and we enforce all of this with policies in the provisioning pipeline, broker settings such as auto.create.topics.enable=false, and regular drift reports.

Why this question is asked

When fifty teams share Kafka, every team's shortcut becomes everyone's incident: a topic with replication factor 1 loses data when a broker dies, an unnamed topic nobody owns fills a disk, a typo in a producer creates a topic silently. Interviewers ask this leadership question to see whether we can define a small set of rules that prevent those failures, explain why each rule exists, and make the rules easy to follow rather than easy to bypass. In this answer, we will go through naming and ownership, durability defaults, retention, the provisioning process, and how to enforce and audit it all.

1Naming and Ownership

A name is the first thing everyone sees, so it should answer 'what is this and who do I ask?'. A good convention is domain, then data set, then a qualifier and a version, for example payments.card-authorisations.events.v1 or catalogue.products.state.v2. The domain groups topics for access control, since ACLs can use prefixes such as payments., and makes the catalogue browsable. The version part matters because when a schema changes incompatibly, we create .v2 next to .v1 and migrate consumers, rather than breaking them in place.

Ownership is recorded as metadata, not left in someone's memory. Every topic has an owning team, a contact channel, a description and a data classification, stored in the provisioning repository or catalogue. The owner decides on schema changes and retention, receives alerts and pays the cost. A topic without an owner is a topic nobody will ever dare to delete.

2Durability Defaults: Replication and Acknowledgements

The default for every production topic is replication factor 3 and min.insync.replicas 2, with producers using acks=all for important data. Replication factor 3 keeps three copies on different brokers. min.insync.replicas 2 means a write with acks=all succeeds only if at least two copies have it. Together, they tolerate one broker failure without losing any acknowledged write and without stopping writes. Since Kafka 3.0, the Java producer defaults to acks=all with idempotence enabled, so the platform mainly has to make sure teams do not override it.

Exceptions exist and should be explicit. A high-volume metrics topic where losing a few records is acceptable might use acks=1 for lower latency; a scratch topic in a test environment can use a replication factor of 1. These are recorded as approved deviations, not discovered by accident.

Standard topic profiles
ProfileReplication / min ISRRetentionTypical use
events3 / 27 days (delete)business events consumed by several services
state3 / 2compactedlatest value per key, such as product state
audit3 / 2longer, tiered storagerecords kept for compliance
telemetry3 / 2, acks=1 allowed1 to 3 dayshigh-volume, loss-tolerant metrics
Teams pick a profile; anything outside the profiles needs review.

3Retention and Compaction by Purpose

Retention should follow what the topic is for. Event topics, which carry things that happened, usually use time-based deletion, for example 7 days, long enough to replay after an outage over a long weekend. State topics, which carry the current value of something per key, use log compaction, which keeps at least the latest record for every key and removes older ones, so a new consumer can rebuild the full state. Audit topics may need months or years, which is where tiered storage, keeping older segments in object storage, keeps costs reasonable.

The platform documents limits, such as a maximum retention without approval and a maximum message size, and shows each team the storage cost of its topics. When a team asks for 90 days of retention on a 50 MB/s topic, the request shows the resulting 1.2 PB of storage with replication, which turns an abstract setting into a real decision.

4Provisioning Through Code, Not Auto-Creation

Topics are created only through a reviewed path: a pull request to a topic repository with declarative definitions applied by a pipeline, tools such as a Terraform provider or Kubernetes operator custom resources, or a self-service portal that writes to the same repository. The definition names the profile, owner, partitions, schema reference and any approved deviations. A reviewer, often automated, checks it against the rules, and the pipeline creates the topic and its ACLs.

Auto-creation by clients is switched off. With auto.create.topics.enable=true, any producer or consumer that refers to a missing topic creates it with broker defaults, so a typo creates payments.card-autorisations with one partition, no owner and the wrong settings, and the real consumers never see the data.

YAML
# topics/payments/card-authorisations.yaml
name: payments.card-authorisations.events.v1
owner: team-payments-core
profile: events # replication 3, min ISR 2, retention 7 days
partitions: 48
schema: payments/CardAuthorisation.avsc
classification: confidential
Step throughFrom request to topic
  1. Team opens a pull requesttopic definition with owner and profile
  2. Matches naming and a standard profile?
    YesAutomatic approvalNoPlatform review of the deviation
  3. Pipeline creates topic and ACLsvia the admin API
  4. Catalogue updatedowner, schema, cost visible
  5. Nightly drift reportlive config compared with the repository

5 steps in order. Play them, or step through them one at a time.

5Enforcing and Auditing the Rules

Rules on a wiki are suggestions; rules in the path are standards. In the provisioning pipeline, a validation step rejects names that do not match the pattern, missing owners, replication below 3 and unapproved retention. On the brokers, auto.create.topics.enable=false, default.replication.factor=3 and min.insync.replicas=2 make the safe choice the default even for tools that bypass the pipeline. Kafka also offers broker-side create topic and alter config policies, pluggable classes that can reject non-compliant admin requests, and ACLs ensure only the pipeline's identity can create topics in production.

Finally, a nightly drift report compares every live topic's configuration with its definition in the repository and lists topics with no owner, settings changed by hand, or no traffic for 90 days. The report goes to owners and to the platform team, and orphaned topics follow a deprecation process. I would also review the standards themselves twice a year with the teams, because a standard that blocks real needs will be bypassed.

6Follow-up questions

How do you introduce this for 50 teams that already have hundreds of topics?

Gradually. First import every existing topic into the repository as it is, with an owner assigned, so we have one inventory. Then turn on the pipeline for new topics and disable auto-creation. Existing deviations are listed in the drift report and fixed in priority order, starting with replication factor 1 topics that carry important data.

Should partition counts be standardised too?

Defaults help, such as a small set of allowed counts like 6, 12, 24, 48 and 96, but the right count depends on each topic's throughput and consumers. So the standard is a sizing guide and a review for large counts, rather than one number for everyone.

7Conclusion

In this answer, we set Kafka standards for 50 teams: names that encode domain, data set and version with a recorded owner, defaults of replication factor 3, min.insync.replicas 2 and acks=all, and retention or compaction chosen per purpose with visible cost. Topics are created only through reviewed code or a self-service portal, and we enforce the rules in the provisioning pipeline, with broker settings such as auto.create.topics.enable=false, policies and ACLs, and nightly drift reports.

What to say in the interviewAbout 80 seconds aloud

Open with

I would keep the standards few and put them in the creation path, so following them is the easy option. First, naming and ownership: names like domain, data set, kind and version, for example payments.card-authorisations.events.v1, so prefixes work for ACLs and incompatible changes become a new version.

Then, if they want more

Every topic records an owning team, contact and data classification. Second, durability: replication factor 3 and min.insync.replicas 2 by default, with producers on acks=all, which the Java client already defaults to since Kafka 3.0. That survives one broker loss without losing acknowledged writes. Deviations like acks=1 for telemetry are explicit and approved.

Third, retention by purpose: time-based deletion of around seven days for events, compaction for state topics, longer retention with tiered storage for audit, with documented limits and the storage cost shown to the owner.

Fourth, provisioning: topics are created only through a pull request to a topic repository or a self-service portal, validated automatically and applied by a pipeline that also creates ACLs.

To enforce it, brokers run with auto.create.topics.enable false and safe defaults, only the pipeline identity may create topics, broker-side policies reject non-compliant requests, and a nightly drift report flags hand-changed configs, missing owners and unused topics. I would review the standards with teams regularly so they keep matching real needs.

About this answer

Last updated
12 November 2026
Versions it names
Kafka 3.0
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.
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 "You are defining the Kafka platform standards for 50 teams. What would you standardise...": https://scrivio-interview-library.netlify.app/spring-boot/kafka/91cfb3227f/