Design a Distributed Message Queue
A Kafka-style log that ingests a million messages a second, keeps them in order per key, replicates them so no acknowledged message is lost, and lets many consumer groups read at their own pace.
2 questions on this site are reported in Confluent software engineer interviews. Each has a full reference design (requirements, back-of-envelope numbers, components, user flows and deep dives with interviewer follow-ups). Each one can be walked through turn by turn and then sat as a mock.
Start an AI mock, Confluent styleOne of these questions, run as a live round in that style, with a debrief at the end.
Attribution comes from public interview guides and candidate reports, not from Confluent. It indicates where a question has been asked, nothing more.
A Kafka-style log that ingests a million messages a second, keeps them in order per key, replicates them so no acknowledged message is lost, and lets many consumer groups read at their own pace.
Collect 10 million log lines a second from 100,000 hosts, make them searchable within seconds, stream them live, and keep a year affordably.
About an hour, and loops for experienced engineers often include two design rounds. Reported prompts are mostly product-shaped rather than about streaming: a podcast service, an RSS feed reader, a temporary email service or a news feed.
Preparing only for Kafka internals. Candidates mostly report product prompts such as a podcast or feed service, where the questions go to the API, the tables and the queries, so be ready to write those out rather than only draw boxes.
From public interview guides and candidate reports, and Confluent’s own interview guidance where it publishes any. Not endorsed by Confluent. Formats change; treat it as a prior, not a promise.
Large-company loops run 45 to 60 minutes, expect numbers, and spend most of the time on deep dives. Walk through a question to see how a strong candidate paces the hour, sit the same question as a mock until you can produce the requirements, the estimates and the design without looking, then read the interview framework guide for how to structure the hour. The other questions on the site teach patterns that show up in Confluent interviews under different names.
Questions reported in Confluent system design interviews include Distributed Message Queue and Distributed Logging System. Between them they test append only log, partitioning, replication, consumer groups, exactly once and log aggregation. The reports come from public interview guides and candidate accounts, not from Confluent, so practise the patterns rather than memorising one list.
About an hour, and loops for experienced engineers often include two design rounds. Reported prompts are mostly product-shaped rather than about streaming: a podcast service, an RSS feed reader, a temporary email service or a news feed.
Reports say the Confluent round weighs 4 things. 1. API design in detail, down to verbs, status codes and headers. 2. A data model, and the SQL queries behind each feature. 3. Scale follow-ups: sharding the database and cache, with estimates for requests, memory and servers. 4. Tradeoffs you can defend when pressed. Preparing only for Kafka internals. Candidates mostly report product prompts such as a podcast or feed service, where the questions go to the API, the tables and the queries, so be ready to write those out rather than only draw boxes.
Practise the questions reported there out loud, under a 45-minute clock: requirements with numbers first, then estimates, a high-level design, and deep dives into the two or three hardest parts. Start with Distributed Message Queue: watch a strong candidate answer it turn by turn, then sit it yourself. Then cover the patterns the round leans on (append only log, partitioning, replication and consumer groups) with one more question each.