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 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.
~/payments
Claude Codev2.1.325
Opus 5.5
~/payments
Called conduktor 12 times (ctrl+o to expand)
Found the three payments topics; checking who reads and writes them before deciding what's safe to cut.
Called conduktor 12 times (ctrl+o to expand)
Payments has very little worth cutting. Its three topics hold about 60 MB together, roughly 15% of the cluster's storage. The two pageviews topics hold 342 MB, so the real savings on this cluster are there, not in payments.
TopicSizePartitionsConsumerspayments-incoming36 MB6payments-reporting (no members running)payments-outgoing23 MB6payments-reporting (no members running)payments-failed1.7 MB3none
What could be cut, all small:
-Partitions are the one place payments uses most of the cluster: 15 of its 17 partitions, for only about 126K messages in total. One partition per topic would handle that. It only saves money if Priya's cost model charges per partition. 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.
-payments-failed is the only payments topic Conduktor flags as underused (3 partitions for 1.7 MB). No consumer group reads it, but it holds declined payments (insufficient_funds and similar). Payments should be asked who's supposed to act on declines. I wouldn't delete it to save 1.7 MB.
Leave alone:
-Replication factor 3 on all three. Lowering it on payment data trades durability for almost no saving.
-7-day retention. No data has expired yet on any partition, so shortening it frees nothing now and removes the replay window if reporting needs to reprocess.
1m 56s
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".
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?"
New chatThe low-use report lists legacy-invoices-archive as unowned, with invoice-exporter-v1 as an abandoned group on it. Is it safe to delete?Safe to delete legacy-invoices-archive?
How can I help?
Ask about your topics, consumer groups, schemas or how Conduktor works.
The low-use report lists legacy-invoices-archive as unowned, with invoice-exporter-v1 as an abandoned group on it. Is it safe to delete?
Thinking…
Reading your cluster…Looked at your cluster · 7 calls· 11s
Read topic legacy-invoices-archive on local-kafka-cluster31 ms
Listed consumer groups by topic on local-kafka-cluster35 ms
Read stream lineage legacy-invoices-archive on local-kafka-cluster34 ms
Searched audit log on local-kafka-cluster13 ms
Searched topics on local-kafka-cluster25 ms
Read consumer group invoice-exporter-v1 on local-kafka-cluster110 ms
Listed acl bindings on local-kafka-cluster14 ms
Not yet safe to delete. The topic looks idle, but the group on it didn't finish reading it, and the data may not exist anywhere else.
Unread data:invoice-exporter-v1 has 150 unread records. It committed offset 50 on partition 1, which holds all 200 records (partitions 0 and 2 are empty). So three quarters of the topic was never exported.
Group state: the group is Empty with no members. That fits "abandoned", but it could also mean the export stopped partway through.
Access: I found no topic-specific ACLs. The only grants are User:legacy-etl with All on every topic and group (*). That principal may be the old producer or exporter, so ask whoever owns it.
Open invoice-exporter-v1Who is legacy-etl?
OK, leave that one. What about the three empty ones on the list: tmp-migration-2023, test-alice-scratch and orders-v1-deprecated?
Thinking…
Reading your cluster…Looked at your cluster · 17 calls· 20s
Searched topics on local-kafka-cluster22 ms
Listed consumer groups by topic on local-kafka-cluster48 ms
Listed consumer groups by topic on local-kafka-cluster45 ms
Listed consumer groups by topic on local-kafka-cluster45 ms
Read stream lineage orders-v1-deprecated on local-kafka-cluster43 ms
Read stream lineage tmp-migration-2023 on local-kafka-cluster17 ms
Read stream lineage test-alice-scratch on local-kafka-cluster12 ms
Searched audit log on local-kafka-cluster13 ms
Searched audit log on local-kafka-cluster13 ms
Searched audit log on local-kafka-cluster13 ms
Listed acl bindings on local-kafka-cluster39 ms
Listed acl bindings on local-kafka-cluster32 ms
Listed acl bindings on local-kafka-cluster73 ms
Listed connectors detailed on local-kafka-cluster140 ms
Searched audit log on local-kafka-cluster14 ms
Searched audit log on local-kafka-cluster12 ms
Searched audit log on local-kafka-cluster13 ms
Yes, all three look safe to delete. Each is empty, has no consumers and isn't used by any connector. Delete them from the Topics page, one at a time.
No data: each topic has 0 records and 0 bytes, with 6 partitions and replication factor 3.
No readers:list-consumer-groups-by-topic returns no groups for any of them. Nothing else is stopping you the way invoice-exporter-v1 was on the invoices topic.
No connectors: none of the 12 connectors on this cluster reference these topics.
Some caveats:
Names:orders-v1-deprecated could be a deliberate placeholder for a migration, so ask the orders team before removing it. test-alice-scratch is probably Alice's. A quick message to her costs little, and it's what I'd do before deleting.
Open orders-v1-deprecated
Ask anything…
/for skills
AI can make mistakes, check what matters.
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".
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.
Console
Home
Topics
Schema registry
Consumer groups
Kafka Connect
Kafka Gateway
Brokers
Service accounts
FlinkPREVIEW
SQL engines
Analytics
Insights
Chargeback
Lineage
Agentic
Home
Identities
Tasks
Models
Agents
Scheduled
Event-driven
Output
Reports
Recommendations
Approvals
Direct updates
Settings
main
Local Kafkalocal-kafka-clusterTopics/tmp-migration-2023
Topic before deletion6 partitions, replication factor 3, no custom configs recorded
Earlier audit history for this topicNone. The delete is the only event logged for this name.
Consumer groups
All 9 consumer groups checkedNone of the cluster's 9 consumer groups lists tmp-migration-2023 among the topics it reads, and no group name contains 'migration'. Kafka may have dropped offsets for the deleted topic already, so this does not prove that nothing read it in the past.
Connectors
Local Connect (12 connectors, all RUNNING)No source or sink connector lists tmp-migration-2023 in its topics. No connector failures are linked to this deletion.
datagen_users_jdbc_dlq0 messages, 0 consumersNo, the name does not match
pageviews.dlq1 message, 0 consumersNo, the name does not match
Other topics containing 'migration'NoneN/A
Severity assessment
Harmless cleanup (likely)No consumer group, connector, ACL lineage or schema subject references the topic. Its name suggests a temporary 2023 migration topic. An admin deleted it on purpose with a permitted call.
What I couldn't checkThe topic's message count, last activity and consumer count from before the deletion were not available, so I couldn't confirm it was empty at the time.
Search⌘K
AskA
Add partitionsEmpty topicDelete topic
Delete topic?
Deleting this topic is permanent and irreversible.
Please be aware that all of the messages stored in this topic will be permanently deleted and cannot be retrieved.
topictmp-migration-2023
Please type DELETE to confirm*
CancelDelete
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 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:
Piece
What it does
What it did here
MCP server
Gives your own AI assistant Console's tools, with your permissions
Sized the payments topics for Bob and said what to leave alone
Low-use insight
Built-in agent on a schedule: empty, stale and tiny topics and idle groups
Handed Priya the reclaim list
Ask Conduktor
Answers questions inside Console, with the cluster's own tools
Judged the invoices topic "not yet" and the empty three "yes"
Topic deletion post-mortem
Custom agent, fired by a topic delete in Console
Graded 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.
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.