Finding Kafka Waste That's Safe to Cut with Conduktor Agents

Ron Kapoor November 24, 2026 6 min read
The Kafka logo outlined inside three curved arrows forming a cycle, over a jagged red line chart that rises to the right on dark teal.

A shared Kafka cluster collects things nobody needs: topics nobody writes to, consumer groups nobody runs, and partitions sized for traffic that never came. Cutting them is cheap. Cutting the wrong one breaks a job nobody remembered, and most of the work in a cleanup is telling the two apart.

Take a cost review. Priya, on the platform team, asks every team to trim what it doesn't need before the next one. Bob looks after the payments topics. Priya can see everything, including the topics nobody owns, and this review needs both of them.

What does this post change for your team?ClaudeChatGPT

Bob Checks What Payments Could Cut

Bob asks Claude Code: "Priya wants every team to trim what it doesn't need on Kafka before the next cost review. What on our payments topics could we cut, and what isn't worth touching?" His assistant reaches Console through the Conduktor MCP server with Bob's own token, and spends two minutes reading the payments topics, their consumers and the cluster around them.

Its first line isn't what a cost review usually hears: "Payments has very little worth cutting." The three topics hold about 60 MB together, "roughly 15% of the cluster's storage", and the bigger savings sit in topics payments doesn't own.

Bob's assistant sizes the payments topics, then says what could go and what should stay.

Payments does stand out on partitions, with "15 of its 17 partitions, for only about 126K messages in total." It also says why fewer partitions are hard to get: "Kafka can't reduce partitions on an existing topic, so you'd have to recreate the topics and move producers and consumers over. That's a risky change to a payments flow for little gain."

Bob has three ways to go from here:

  • Recreate the topics with fewer partitions. It saves partitions, but it means a migration on a live payments flow.
  • Leave the partitions and keep them in mind. Nothing breaks, and the next payments topic gets sized for its traffic.
  • Look at what the assistant flagged instead. Nobody reads payments-failed, which "holds declined payments". The advice: "Payments should be asked who's supposed to act on declines. I wouldn't delete it to save 1.7 MB."

He leaves the partitions and takes payments-failed to his team. The assistant also told him what not to touch: replication factor 3, because "lowering it on payment data trades durability for almost no saving", and the 7-day retention, because no data has expired yet, so "shortening it frees nothing now and removes the replay window".

Priya Starts From the Reclaim List

Bob's topics have an owner. The waste on a shared cluster usually doesn't, which is why Priya runs the built-in Low-use insight agent on a schedule. Its latest report is a reclaim list: empty topics, tiny ones, and consumer groups with nobody running them, each with its partitions, its size and its owner if Console knows one.

Most of the candidates on her cluster have no owning application, so the list can't tell her who to ask. She opens Ask Conduktor on the topic at the top of her mind, legacy-invoices-archive, and asks: "Is it safe to delete?"

The reclaim list, then Ask on two cleanup questions: one answer is not yet, the other is yes with caveats.

Ask's answer is "Not yet safe to delete." The topic looks idle, but invoice-exporter-v1, the abandoned group on it, stopped partway: "three quarters of the topic was never exported." The only grant that reaches the topic is legacy-etl's All on every topic. Before deleting, Ask says to find out who owns those two, and to copy the records somewhere first if anyone might need them.

Priya has three options for the invoices topic:

  • Delete it now. It's 24.9 KB, so the saving is tiny, and 150 invoices that may never have been exported go with it.
  • Copy the records first, then delete. Nothing is lost, but whoever needs the invoices has to know where they went.
  • Leave it until someone claims legacy-etl. Nothing is lost, and it stays on the list.

She leaves it and asks about the three empty topics on the same list. This time the answer is "Yes, all three look safe to delete": no records, no consumer groups, no connectors, and no schema. Ask still adds a human caveat: orders-v1-deprecated "could be a deliberate placeholder for a migration", and test-alice-scratch "is probably Alice's. A quick message to her costs little".

Delete One Topic, With a Post-Mortem Ready

Priya deletes tmp-migration-2023, the one empty topic with no owner hint, and sends the other two names to Alice and the orders team. Console asks her to type DELETE, because a deleted topic can't be brought back.

Priya deletes the topic, and the post-mortem agent checks what the deletion could have broken.

The delete wakes a custom agent that fires whenever a topic is deleted or emptied through Console. It checks what the topic left behind and rates the severity "Low: looks like cleanup". No consumer group, connector or schema subject depended on it. It's also honest about its limits: it couldn't see the topic's message count from before the deletion, so it couldn't confirm the topic was empty at the time. It leaves Priya one thing to watch: a Kafka.Topic.Create for the same name in the audit log means a client still uses it.

Bob Owns His Topics. Agents Watch the Rest.

Bob checked the topics his team owns and learned what wasn't worth cutting, which is half of a good cost review. The shared waste took Priya, who can see the whole cluster, an agent that lists it every day, and Ask to judge each topic before she deleted anything. A person made every change. Here's which piece did what:

PieceWhat it doesWhat it did here
MCP serverGives your own AI assistant Console's tools, with your permissionsSized the payments topics for Bob and said what to leave alone
Low-use insightBuilt-in agent on a schedule: empty, stale and tiny topics and idle groupsHanded Priya the reclaim list
Ask ConduktorAnswers questions inside Console, with the cluster's own toolsJudged the invoices topic "not yet" and the empty three "yes"
Topic deletion post-mortemCustom agent, fired by a topic delete in ConsoleGraded the deletion as cleanup and said what to watch for
legacy-invoices-archive and the legacy-etl account are still waiting for an owner, and the same account showed up in our first use case with All on every topic. Finding who owns it is the next job, for Priya and for an agent.

See It Live on 8 December

Register for our webinar on Tuesday, 8 December, at 11:00 AM ET / 8:00 AM PT to see Conduktor Agents work through cost reviews like this one live: Leave the Chores to Kafka Agents. Can't make it? Register anyway and we'll send you the recording.


Related: Recovering a Kafka Connector From a Poison Pill with Conduktor Agents → · Investigating a Leaked Kafka Credential with Conduktor Agents → · How to Reduce Kafka Costs → · Introducing Conduktor Agents →