Scrivio Interview library
LeadershipAdvanced5 min read · updated 12 November 2026

Your organisation runs both Kafka and RabbitMQ, each operated by a different team, and leadership wants to standardise on one. How would you approach this decision?

We would treat it as a decision to be made with data rather than preference: inventory every use case on both platforms, classify each as an event, a command or a work queue, and compare operating cost, skills, reliability history and the migration effort per use case. Standardising can force poor fits, so two well-run platforms with clear guidance may be cheaper than migrating. If we do consolidate, we migrate use case by use case with bridges and firm deadlines, and either way we write down the decision and the guidance on which tool fits which use.

Why this question is asked

Running two message platforms looks wasteful to leadership: two teams, two on-call rotations, two sets of skills. Sometimes it is waste, and sometimes it is the cheapest correct answer. Interviewers ask this leadership question to see whether we can run a decision that two teams with strong opinions will accept, and whether we look at costs we cannot see on an org chart. In this answer, we will walk through the decision as a senior engineer would: building the inventory, classifying use cases, comparing the costs that matter, choosing between consolidating and keeping both, and recording the outcome.

1Starting From Use Cases, Not Platforms

The first thing to avoid is a debate about which platform is better. Each team will win that debate on its own ground. Instead, we list every use case: each topic or queue, which services publish and consume it, its volume, its delivery needs, and its incidents in the last year. This is tedious, and it is the step that makes the decision credible.

Then we classify each use case by what it does, because that is what decides fit. An event says something happened (OrderPlaced) and may have many consumers, now and later. A command asks one service to do something (SendInvoice). A work queue spreads independent jobs over workers (resize this image). Events with many consumers and replay needs suit Kafka; commands and work queues with per-message retry suit RabbitMQ.

Example inventory after classification
PlatformUse case kindCountGood fit today?
Kafkaevents, many consumers70yes
Kafkawork queues12poor: retry topics built by hand
RabbitMQcommands and work queues35yes
RabbitMQevents needing replay8poor: no history
Illustrative numbers. The poor fits are the cases where moving helps, whichever way the decision goes.

2Comparing the Costs That Matter

For each platform we gather what it really costs: infrastructure and licences, the people who operate it and how much of their time it takes, the on-call load, and its reliability history, meaning the incidents caused by the platform itself rather than by misuse. We also ask about skills: how many engineers can debug consumer lag in Kafka, or a blocked queue in RabbitMQ, without calling the platform team.

Then, for each use case, we estimate the cost of moving it to the other platform. Moving a simple work queue might take a team two weeks. Moving a Kafka event stream with ten consumers and a replay requirement onto RabbitMQ might be impossible without losing a capability. Adding these up, using the inventory, gives a total migration cost for each direction, which is the number leadership rarely sees.

3Consolidate or Keep Both?

Now we can compare honestly. Suppose consolidating on Kafka would save one platform's operations, about two engineers and 200,000 a year in infrastructure, but would cost 40 engineer-months to migrate 35 RabbitMQ use cases and would leave the work queues on a poorer fit that needs custom retry code. Keeping both costs more to run each year but nothing to migrate, and each use case stays on the tool that fits it.

Neither answer is right in general. If one platform is small, poorly run or carrying use cases that fit the other, consolidating is usually right. If both are healthy and serve different kinds of use, two well-run platforms with clear guidance are often cheaper and safer than a forced migration. What matters is that the comparison is visible, so the decision can be defended later.

Step throughThe decision process
  1. Inventory every use caseowner, volume, needs, incidents
  2. Classify each oneevent, command, or work queue
  3. Cost both platformsrun cost, skills, reliability
  4. Estimate migration per use caseboth directions
  5. Does consolidating pay back within about 3 years?
    YesConsolidate by use case, with deadlinesNoKeep both, publish clear guidance
  6. Write the decision recordreasons, numbers, when to revisit

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

4If We Consolidate: Migrating by Use Case

A consolidation is a programme of small moves, not one big cutover. For each use case, a bridge copies messages between the platforms, for example a small connector that consumes from a RabbitMQ queue and produces to a Kafka topic, so producers and consumers can move separately. We set clear deadlines per batch of use cases, publish them, and track progress openly. Without a deadline, the last ten percent never moves and the company runs both platforms anyway, now with bridges as well.

5Writing It Down and Bringing the Teams Along

Whatever we decide, we write it as a short decision record: the options, the numbers, the decision, and when to revisit it. Alongside it we publish guidance a developer can apply in a minute, for example: events that others may consume or replay go to Kafka; commands and work queues go to RabbitMQ; ask the platform group if a use case fits neither. The guidance stops the next team from choosing at random, which is often how a company ends up with two platforms in the first place.

We also involve both platform teams from the start, in gathering the data and reviewing the comparison. A decision they helped build is one they will run well, even if their platform is the one being retired.

6Follow-up questions

Leadership just wants one platform. How do you respond if the numbers say keep both?

We show the comparison: the yearly saving from one platform against the migration cost and the use cases that would fit worse. Often the real concern is cost or confusion, and we can address it directly, by sharing tooling, merging on-call where skills overlap, and publishing guidance, without a migration.

How do you stop the classification itself becoming a political fight?

We agree on the criteria before applying them: what makes something an event, a command or a work queue, and which needs, such as replay or per-message retry, point to which tool. Then the classification is mostly mechanical, and disagreements are about specific use cases with evidence.

What if a use case fits neither platform well?

We say so. Some needs, such as delayed scheduling or very large payloads, may fit a database-backed job scheduler or object storage with a notification. Forcing them onto either broker produces the incidents we were trying to reduce.

7Conclusion

In this answer, we approached the standardisation decision through use cases rather than platforms. We inventoried and classified every use case as an event, a command or a work queue, compared operating cost, skills, reliability and migration effort, and saw that two well-run platforms with guidance can beat a forced consolidation. If consolidating, we would migrate by use case with bridges and deadlines, and in every case we would write the decision and the guidance down.

What to say in the interviewAbout 90 seconds aloud

Open with

I'd avoid a debate about which platform is better and turn it into a decision with data. First I'd inventory every use case on both platforms, its owner, volume, delivery needs and recent incidents, and classify each as an event, a command or a work queue, because that classification is what decides fit: events with many consumers and replay suit Kafka, commands and work queues with per-message retry suit RabbitMQ.

Then, if they want more

Then I'd compare real costs: infrastructure and licences, operations and on-call time, skills, and each platform's own reliability history. For every use case I'd estimate what moving it would take in each direction.

That gives leadership a visible trade: consolidating saves maybe two engineers and some infrastructure a year, but might cost forty engineer-months and leave some use cases on a worse fit. If both platforms are healthy and serve different kinds of work, two well-run platforms with clear guidance can be cheaper than migrating.

If we do consolidate, I'd move use case by use case with bridges so producers and consumers move separately, and set firm deadlines so the last ten percent actually moves. Either way, I'd write a decision record with the numbers and a short guide on which tool to use for what, and I'd involve both platform teams in building it.

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
RabbitMQ 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 "Your organisation runs both Kafka and RabbitMQ, each operated by a different team, and...": https://scrivio-interview-library.netlify.app/spring-boot/rabbitmq-and-jms/5fe7411fc7/