Scrivio Interview library
LeadershipPrincipal5 min read · updated 13 November 2026

Your company is negotiating a three-year committed-spend contract with a managed Kafka vendor. Teams have started to use vendor-only features: proprietary connectors, the vendor's stream-processing SQL, and its cluster-to-cluster linking.

The CFO wants the discount; the CTO worries about lock-in. How do you shape the decision and the contract?

I would separate the Kafka protocol, which keeps clients portable, from the vendor platform features where switching costs grow, and list which proprietary features are used, by whom and what replacing each would cost. Then I would set architecture rules that keep business logic in code and open formats, with vendor-only features allowed by explicit exception. The commitment should be sized from measured use with growth bands, and the contract should include exit terms: data export support, price protection, service credits and no penalty for moving part of the load. Finally I would keep the exit path real by running a sample of workloads elsewhere and testing it yearly.

Why this question is asked

Committed-spend contracts are a normal way to buy cloud services: we promise to spend a certain amount over three years and receive a discount, often 20 to 40 percent. The tension in this question is real. The CFO sees a large, certain saving. The CTO sees teams quietly building on features that only this vendor has, and a contract that will make it even harder to leave. Interviewers ask it to see whether a senior engineer can turn a standoff into a decision with facts on the table. In this answer, we will measure the lock-in, set architecture rules, size the commitment, shape the contract, and keep the exit path credible.

1Separating the Protocol From the Platform

Lock-in is not one thing, so the first step is to measure it. The Kafka protocol itself is portable: a service that uses the standard Java client, Spring Kafka or Kafka Streams can point at another Kafka cluster, from another vendor or self-managed, by changing its bootstrap address and credentials. Switching costs grow in the features around the protocol: proprietary connectors, the vendor's stream-processing SQL, vendor schema tooling and governance features, and cluster-to-cluster linking.

We build an inventory: which of these features each team uses, how many pipelines or queries depend on them, and what replacing each would cost in engineering weeks. For example, 40 SQL streaming jobs might need two to three engineer-months to rewrite in Kafka Streams or Apache Flink, while proprietary connectors might have open-source equivalents with some configuration work. This turns "lock-in" from a feeling into a number that can be weighed against the discount.

Where switching costs live
LayerPortabilityExample
Kafka protocol and clientsHighJava client, Spring Kafka, Kafka Streams
Data formatsHigh if openAvro or Protobuf with a registry
ConnectorsMediumOpen-source vs proprietary connectors
Stream processingLow if vendor SQLVendor SQL vs Kafka Streams or Flink
Cluster linking, governanceLowVendor-only replication and catalog
The protocol rows travel with us; the bottom rows are where the exit cost grows.

2Setting Architecture Rules

Next we decide what new work may depend on. A practical rule is that business logic stays in code and open formats: Kafka clients, Kafka Streams or Apache Flink for stream processing, Avro or Protobuf for data, all in repositories we own. Vendor-only features are not forbidden, because some, like a managed connector, save real effort, but they need an explicit exception: a named owner, the reason, and a short exit note describing what we would do if we left.

This rule is cheap to follow when starting something new and expensive to apply after the fact, which is why it should be agreed before the contract is signed, not after. Existing uses are handled through the inventory: some are moved to open alternatives over time, others are accepted with their exit notes.

3Sizing the Commitment

A discount on money we would not have spent is not a saving. Vendors naturally propose commitments based on optimistic growth, and if actual use falls short, we pay for the gap, and we have a strong incentive to move more workloads, including ones that would be better elsewhere, onto the vendor to use it up. Over-committing therefore both wastes money and deepens lock-in.

So we size from measured use: the last 12 months of spend, with planned projects added as bands, for example a committed base equal to about 80 percent of the expected year-one spend, growing with the lower growth band. If use exceeds the commitment, we pay on-demand rates for the excess, which is a small cost compared with an unused commitment.

4Negotiating Exit Terms

The best time to negotiate leaving is before signing. We ask for support for exporting and replicating our data at the end of the term, including help with replication to another cluster and no punitive egress during migration. We ask for price protection on renewal, so the price cannot jump when leaving is hardest, and for clear service levels with credits when they are missed.

We also ask for no penalty for moving part of the load: the commitment should be about total spend, not exclusivity, so we can run some workloads elsewhere without breaching the contract. These terms cost the vendor little when the relationship is healthy and protect us when it is not.

5Keeping the Exit Path Real

An exit plan that has never been tried is not a plan. We keep a sample of workloads, perhaps two or three non-critical flows, running on another Kafka, a second vendor or a small self-managed cluster, and once a year we test moving one more flow across using our standard clients and open tools. This keeps the portability of our code honest and keeps the team's skills alive.

It also strengthens our position at renewal. A vendor who knows we can move a flow in a week negotiates differently from one who knows we have never tried. The cost of this insurance is small compared with a three-year commitment, and it lets the CFO take the discount while the CTO's concern is managed rather than ignored.

Step throughShaping the decision
  1. Inventory vendor-only featuresusers, dependencies, replacement cost
  2. Agree architecture rulesopen code and formats; exceptions with exit notes
  3. Size commitment from measured usebase plus growth bands
  4. Negotiate exit and price termsexport support, price caps, credits
  5. Run a sample elsewheretest a move yearly

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

6Follow-up questions

Should we simply ban vendor-only features?

Usually not. Some of them, such as a managed connector for a common database, save weeks of work and carry little risk because open alternatives exist. A ban pushes teams to rebuild what the platform already offers. An exception process with an owner and an exit note keeps the benefit while making the cost visible.

How do you present this to the CFO and the CTO together?

As one decision with numbers: the discount over three years, the measured cost of leaving today, the expected cost of leaving if current trends continue, and the terms and rules that cap that cost. That lets both sides agree on a commitment level and the conditions that come with it, instead of arguing about whether lock-in matters in general.

7Conclusion

In this answer, we saw how to shape a committed-spend decision with lock-in risk. We separated the portable Kafka protocol from vendor features and measured what each would cost to replace. We set architecture rules that keep logic in code and open formats, with exceptions for vendor features. We sized the commitment from measured use with growth bands, negotiated exit, price and service terms, and kept the exit path real by running and testing a sample of workloads on another Kafka.

What to say in the interviewAbout 80 seconds aloud

Open with

I would start by separating the protocol from the platform. As long as teams use standard Kafka clients, Kafka Streams or Flink, and Avro or Protobuf, the applications are portable; switching costs build up in proprietary connectors, the vendor's SQL, schema tooling and cluster linking.

Then, if they want more

So I would inventory which vendor-only features are used, by which teams, and estimate what replacing each would cost. That turns lock-in into a number the CFO can weigh against the discount. Then I would agree architecture rules: business logic stays in code and open formats, and vendor-only features need an explicit exception with an owner and an exit note.

For the commitment, I would size it from measured use over the last year with conservative growth bands, because over-committing wastes money and pushes us to move more onto the vendor to use it up.

In the contract I would negotiate exit terms: support for exporting and replicating data at the end of the term, price protection at renewal, service levels with credits, and no penalty for moving part of the load.

Finally, I would keep the exit path real by running a sample of workloads on another Kafka and testing a move yearly, which also improves our position at renewal.

About this answer

Last updated
13 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
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 "The CFO wants the discount; the CTO worries about lock-in. How do you shape the decision...": https://scrivio-interview-library.netlify.app/spring-boot/kafka-operations/9a84cd76a6/