Support Questions

Find answers, ask questions, and share your expertise

Creating job to automatically remove Kafka Topics

Explorer

Has anybody ever tried to delete unneeded Kafka Topics with a job or in some sort of automated fashion?

1 ACCEPTED SOLUTION

Mentor

@Joe Hellmers

Make sure that topic deletion enabled at the broker level (delete.topic.enable=true) in the entire cluster, and restart it?

Here is how the delete works in Kafka

Check this Github with scripts to delete topics you can readapt it

Hope that helps

View solution in original post

2 REPLIES 2

Mentor

@Joe Hellmers

Make sure that topic deletion enabled at the broker level (delete.topic.enable=true) in the entire cluster, and restart it?

Here is how the delete works in Kafka

Check this Github with scripts to delete topics you can readapt it

Hope that helps

Explorer

That worked perfectly. Thanks!

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.