Support Questions
Find answers, ask questions, and share your expertise

Creating job to automatically remove Kafka Topics

Solved Go to solution

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

Accepted Solutions

Re: Creating job to automatically remove Kafka Topics

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

Re: Creating job to automatically remove Kafka Topics

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

Re: Creating job to automatically remove Kafka Topics

Explorer

That worked perfectly. Thanks!