Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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

Re: Creating job to automatically remove Kafka Topics

Explorer

That worked perfectly. Thanks!