Quick revision
The short answer
Starters should carry cross-cutting defaults that every service needs the same way: security, observability, a standard error format, HTTP client settings and resilience defaults. They must stay thin and configurable, with escape hatches through properties and overridable beans. We publish them with a bill of materials aligned with Spring Boot releases and a stated support window, automate upgrades across repositories with dependency bots tested against consumer builds, and avoid becoming a bottleneck by accepting contributions from teams and keeping a public roadmap.
What to remember
In this answer, we saw that platform starters should hold cross-cutting defaults such as security, observability, error format, HTTP client settings and resilience, stay thin and overridable through properties and @ConditionalOnMissingBean beans, ship as a BOM aligned with Spring Boot releases with a clear support window, be upgraded across repositories by bots and tested against consumer builds, and grow through contributions and a public roadmap so the platform team is not a bottleneck.
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.
Starters should carry cross-cutting defaults that every service needs the same way: security, observability, a standard error format, HTTP client settings and resilience defaults. They must stay thin and configurable, with escape hatches through properties and overridable beans. We publish them with a bill of materials aligned with Spring Boot releases and a stated support window, automate upgrades across repositories with dependency bots tested against consumer builds, and avoid becoming a bottleneck by accepting contributions from teams and keeping a public roadmap.
Why this question is asked
A platform team with good starters can save forty teams weeks of repeated work and make every service observable and secure by default. A platform team with bad starters becomes the thing every team works around: the starter is too opinionated, too slow to upgrade, and the only way to change it is to file a ticket and wait. Interviewers ask this question to see whether a senior engineer can design a product for internal customers, not just write auto-configuration. In this answer, we will recap what a Spring Boot starter is, decide what goes into ours, design it to be overridable, plan versioning and support, automate upgrades, and set up the team so it does not become a bottleneck.
1A Quick Recap of Spring Boot Starters
A starter is a dependency that brings in a set of libraries plus auto-configuration, classes that Spring Boot runs at startup to create beans with sensible defaults when certain conditions are true. Spring Boot's own spring-boot-starter-web is an example: add it, and a web server, JSON handling and MVC are configured for us. Our company starter does the same with company defaults.
Auto-configuration is registered in a file named META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports, and each configuration class uses conditions such as @ConditionalOnMissingBean or @ConditionalOnProperty. Those conditions are what make a starter overridable: they let the application replace a default simply by defining its own bean or setting a property.
2What Goes Into the Starters
The starters should hold concerns that are cross-cutting, meaning every service needs them, and that should behave the same everywhere. Security: validating the company's tokens and propagating identity. Observability: metrics with common tags, tracing propagation, structured JSON logs with the trace id. A standard error format, for example RFC 9457 problem details with company error codes. HTTP client settings: sensible connect and read timeouts, connection pool sizes and tracing on every outgoing call. Resilience defaults: a retry and circuit breaker configuration that teams can tune.
What does not belong is anything with business meaning, such as customer classes or pricing rules, and anything only a few teams need. A good starter is split into small modules, such as company-starter-web, company-starter-kafka and company-starter-security, so a batch job does not pull in a web server.
- Service codebusiness logic, owned by the product team
- Company starterssecurity, observability, error format, HTTP clients, resilience defaults
- Company BOMversions of starters and libraries, aligned to one Boot release
- Spring Bootframework, auto-configuration, dependency management
- JVM and container imageJava 21 or 25, base image from the platform
5 layers, from the top down. Step through them one at a time.
3Thin, Configurable and Overridable
Every default in a starter should have an escape hatch. If a team needs a different timeout for one slow partner, it sets a property; if it needs a different error handler, it defines its own bean and the starter steps aside. Here is what that looks like in the auto-configuration.
The reason this matters is trust. If teams know they can override any default without forking the starter, they adopt it willingly. If the only way to change behaviour is to ask the platform team, teams either wait, which slows them, or copy the code, which ends standardisation.
4Versioning and Support
We publish a bill of materials, a BOM, which is a POM that only lists versions. It pins our starters and the libraries they use, and each BOM release is aligned with one Spring Boot release line, such as company-bom 2025.2 for Boot 3.5 and 2026.1 for Boot 4.0. Teams import the BOM and stop managing individual versions.
We also publish a support window, for example: the current and previous BOM lines receive fixes, older lines receive security fixes for six months after a new line ships, and nothing older is supported. That makes the deal explicit. Teams know how long they can stay on a version, and the platform team knows how many versions it has to maintain.
5Automating Upgrades Across Forty Teams
Forty teams will not upgrade by reading release notes. We use dependency update bots such as Renovate or Dependabot to open a pull request in every repository when a new BOM version ships, with the release notes and a link to a migration guide. For larger changes, such as a major Spring Boot upgrade, we provide automated refactoring recipes, for example OpenRewrite recipes, that apply the mechanical code changes.
Before releasing, we test the new starters against real consumers: a set of representative services is built and tested in our pipeline with the candidate BOM. If a consumer build breaks, we learn before forty teams do. Tracking the share of services on the current BOM gives the platform team a clear health metric.
- Change merged in starter repofrom platform or a contributing team
- Build representative consumer serviceswith the candidate BOM
- Consumer builds green?YesPublish BOM and release notesNoFix or document the break first
- Bot opens PRs in all reposRenovate or Dependabot
- Track adoptionshare of services on the current line
5 steps in order. Play them, or step through them one at a time.
6Not Becoming a Bottleneck
A platform team of six cannot keep up with forty teams' requests on its own. So the starters are developed in the open: an inner-source model where any team can open a pull request, guided by contribution guidelines and reviewed by the platform team within an agreed time, say two working days. Features that help several teams get built faster this way, and the platform team keeps ownership of design and quality.
A public roadmap and a regular open session, perhaps every two weeks, show teams what is coming and let them influence priorities. Escape hatches matter here too: since teams can override any default, a missing feature never blocks them; it only means they carry a small local customisation until the starter catches up.
7Follow-up questions
How do you handle a team that refuses to use the starters?
First I would find out why, because refusal usually points to a real gap, such as a default that does not fit their workload. If the reason is valid, we add an escape hatch or a feature. If it is preference, we agree on minimum requirements, such as the security and observability standards, that every service must meet, whether through the starter or their own code.
Should starters enforce standards or just suggest them?
Security and observability baselines should be on by default and hard to turn off accidentally, for example requiring an explicit property with a reason to disable token validation. Most other things, such as timeouts and retry settings, should be defaults that teams can tune.
How do you measure whether the platform team is succeeding?
With adoption and outcomes: the share of services on a supported BOM, time for the fleet to take up a security fix, time to create a new production-ready service, and satisfaction from a short survey of the consuming teams.
8Conclusion
In this answer, we saw that platform starters should hold cross-cutting defaults such as security, observability, error format, HTTP client settings and resilience, stay thin and overridable through properties and @ConditionalOnMissingBean beans, ship as a BOM aligned with Spring Boot releases with a clear support window, be upgraded across repositories by bots and tested against consumer builds, and grow through contributions and a public roadmap so the platform team is not a bottleneck.
Open with
I would put into the starters the cross-cutting defaults every service needs in the same way: token validation and identity propagation, observability with metrics, tracing and structured logs, a standard error format such as problem details, HTTP client timeouts and pools, and sensible resilience defaults.
Then, if they want more
Nothing with business meaning goes in. I would keep them split into small modules and thin, and every default overridable: auto-configuration beans with ConditionalOnMissingBean, so a team's own bean wins, and configuration properties for values like timeouts. That makes teams trust and adopt them.
For versioning, I would publish a bill of materials aligned with each Spring Boot release line and a clear support window, for example the current and previous lines supported and security fixes for older ones for six months.
Upgrades would be automated with Renovate or Dependabot opening pull requests in all forty repositories, plus OpenRewrite recipes for bigger migrations, and before each release I would build a set of representative consumer services against the candidate BOM.
To avoid becoming a bottleneck, I would run the starters as inner source, accept pull requests from teams with a quick review commitment, keep a public roadmap with regular open sessions, and measure adoption and time to roll out a security fix across the fleet.
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
- Spring Cloud documentation, Resilience4j documentation
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 setting up a platform team that will provide shared Spring Boot starters to 40...": https://scrivio-interview-library.netlify.app/spring-boot/microservice-design/99b7347568/