Quick revision
The short answer
A central integration platform concentrates expertise, credentials and monitoring, but it becomes a delivery bottleneck and a single point of failure, and a vendor iPaaS adds licence cost and lock-in whose exit means rewriting every integration. Fully team-owned clients scale delivery but duplicate effort and drift in timeouts, retries, security and logging. For most companies I would choose the middle path: teams own their integrations, built on a platform-provided client starter, an egress gateway for credentials and outbound policy, and shared observability, and I would revisit the choice every few years as integration volume, regulation and partner churn change.
What to remember
In this answer, we compared a central integration platform, which concentrates expertise, credentials and monitoring but becomes a bottleneck and a single point of failure, and with an iPaaS also brings licence cost and an expensive exit, against team-owned clients, which scale delivery but duplicate effort and drift in timeouts, retries, security and logging. The middle path of team ownership on a platform-provided starter, an egress gateway and shared observability keeps the benefits of both. We decide by integration volume, regulation and partner churn, and review the decision with real numbers every few years.
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.
A central integration platform concentrates expertise, credentials and monitoring, but it becomes a delivery bottleneck and a single point of failure, and a vendor iPaaS adds licence cost and lock-in whose exit means rewriting every integration. Fully team-owned clients scale delivery but duplicate effort and drift in timeouts, retries, security and logging. For most companies I would choose the middle path: teams own their integrations, built on a platform-provided client starter, an egress gateway for credentials and outbound policy, and shared observability, and I would revisit the choice every few years as integration volume, regulation and partner churn change.
Why this question is asked
At 300 integrations, outbound HTTP is no longer a detail of each service; it is a significant part of what the company does. Some of those APIs belong to payment providers and regulators, some to internal teams, and they all fail, change and get rotated credentials on their own schedules. Interviewers ask this leadership question to see whether we can reason about organisational costs over years, not just about libraries. In this answer, we will describe the two ends of the spectrum, look at what each costs as the years pass, describe the middle path most organisations land on, and finish with the factors that decide the choice and how to keep it under review.
1The Two Ends of the Spectrum
At one end is a central integration platform. An integration team, often with a gateway or an iPaaS (integration platform as a service, a vendor product for building and running integrations, often with visual flows and prebuilt connectors), owns every connection to an external API. Product teams call the platform, and the platform calls the partner. Credentials, retries, transformations and monitoring all live in one place.
At the other end, each product team writes and runs its own clients, following written standards for timeouts, retries, security and logging. There is no central team in the path of a change; there is only guidance.
2The Long-Term Costs of a Central Platform
In the first year, centralisation feels excellent. A handful of experts know every partner's quirks, secrets are stored and rotated in one place, and one dashboard shows the health of every integration. The costs grow with volume. Every new integration and every partner change goes through the same team, so its backlog becomes the company's integration lead time. With 300 APIs and partners changing a few times a year each, that is hundreds of change requests a year flowing to one queue, and product teams wait weeks for changes they could make in a day.
The platform is also a single point of failure. If the gateway or iPaaS runtime has an outage, every integration fails at once, including ones that had nothing to do with the cause. And the integration logic, which often holds business rules such as how to map a partner's order status, ends up far from the teams who understand those rules.
A vendor iPaaS adds a financial dimension. Licences are often priced per connection, per message or per environment, so cost grows with success. The integrations are written in the vendor's flow language or format, so leaving means rewriting all 300 of them, which is why exit is rarely done and the price rarely falls.
3The Long-Term Costs of Team-Owned Clients
Team ownership scales delivery, because each team changes its own integrations at its own pace and understands the business meaning of the data. The cost is duplication and drift. Thirty teams each solve OAuth token refresh, retry policies and partner sandbox setup, often slightly differently. Over a few years, standards written in a wiki drift in practice: one team has no read timeout, another retries POSTs without idempotency keys, a third logs full request bodies with personal data. Security reviews become hard, because credentials are spread across many services and nobody can answer "who calls partner X and with which key?" without searching every repository.
4The Middle Path: Team Ownership on Shared Rails
Most organisations that run many integrations well end up in between. Teams own the integration code and its business logic. The platform team owns the rails it runs on: a client starter that configures RestClient with safe default timeouts, retries, tracing and logging that masks secrets; an egress gateway or proxy through which outbound traffic leaves, which can inject credentials from a secrets store, enforce allow-lists of partner hosts and apply rate limits; and shared observability, so every outbound call appears in the same metrics and dashboards with the partner's name as a tag.
This splits responsibilities by what each side does best. The platform team is not in the path of each change, so it is not a bottleneck, but it makes the safe way the easy way. The egress gateway can fail, so it runs as a highly available, horizontally scaled component, and it keeps only transport concerns, never business mapping, so it stays simple.
- Product team serviceintegration code, mapping, business fallbacks
- Company client starter
RestClientdefaults: timeouts, retries, masking, tracing - Egress gatewaycredentials, host allow-list, rate limits, TLS
- Shared observabilitymetrics and traces tagged by partner
- External and internal APIs300 partners, each with its own changes
5 layers, from the top down. Step through them one at a time.
Teams change their integrations freely; the platform keeps them safe and visible.
5Deciding and Reviewing the Choice
A few factors decide where on the spectrum we should sit. Integration volume and change rate matter most: with 20 stable integrations, a small central team is efficient; with 300 that change often, it becomes a queue. Regulation matters next: if auditors require a single control point for data leaving the company, an egress gateway with central logging gives that without centralising the code. The kind of partners matters too: many simple SaaS connectors with no business logic suit an iPaaS, while core business integrations with complex rules belong with the owning team.
Whatever we choose, we write down the reasons and the numbers, such as lead time for an integration change, incidents caused by outbound calls, and cost per integration, and review them every two or three years. The right answer for 50 integrations in one country is often wrong for 300 across five regulated markets, and the review is how we notice before the costs pile up.
- Few, stable integrations?YesSmall central team is fineNoNext question
- Mostly simple SaaS connectors with no logic?YesiPaaS for those, with an exit planNoNext question
- Business logic in the integrations?YesTeam ownership on shared railsNoGateway-centred platform
- Regulator needs one control point?satisfy it with the egress gateway
- Review the numbers every 2 to 3 years
5 steps in order. Play them, or step through them one at a time.
6Follow-up questions
How do you prevent the platform starter from becoming a bottleneck itself?
By making it a product with an owner, a public backlog and a release cadence, and by keeping it about defaults rather than business features. Teams can override defaults through configuration without waiting for a release, and contributions from product teams are welcome through pull requests.
When would you still pick an iPaaS?
For a large number of simple, low-logic connections, such as syncing a CRM with a marketing tool, where prebuilt connectors save real effort and the people building them are not software engineers. I would keep it away from core transaction flows, and I would estimate the cost of leaving before signing, so the lock-in is a known price rather than a surprise.
How do you measure whether the model works?
With a few numbers tracked over time: lead time from a partner change to production, number and length of incidents caused by outbound calls, share of outbound traffic going through the starter and gateway, and total cost including licences and people. If lead time grows or incidents cluster around one component, the model needs adjusting.
7Conclusion
In this answer, we compared a central integration platform, which concentrates expertise, credentials and monitoring but becomes a bottleneck and a single point of failure, and with an iPaaS also brings licence cost and an expensive exit, against team-owned clients, which scale delivery but duplicate effort and drift in timeouts, retries, security and logging. The middle path of team ownership on a platform-provided starter, an egress gateway and shared observability keeps the benefits of both. We decide by integration volume, regulation and partner churn, and review the decision with real numbers every few years.
Open with
With 300 integrations I would think about where the costs go over five or ten years, not just year one. A central integration team or iPaaS concentrates expertise, secrets and monitoring, which is great early on, but every partner change goes through one queue, so it becomes the company's bottleneck, and one gateway outage takes down every integration at once.
Then, if they want more
An iPaaS adds per-connection licences and lock-in, because leaving means rewriting all 300 integrations in a new tool. Fully team-owned clients scale delivery and keep business logic with the people who understand it, but thirty teams solve token refresh and retries differently, and over time timeouts, retry rules, credential handling and logging drift.
So I would usually go for the middle path: teams own their integrations, but on shared rails. The platform team provides a client starter with safe defaults and masked logging, an egress gateway that injects credentials, enforces a host allow-list and rate limits, and shared dashboards tagged by partner.
The decision depends on volume, regulation and how often partners change, so I would write down the reasons with numbers like change lead time and outbound incidents, and review it every two or three years.
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 Framework reference, Spring Web MVC
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 "Your company integrates with more than 300 external and internal HTTP APIs. Should...": https://scrivio-interview-library.netlify.app/spring-boot/http-clients/a2412c36aa/