kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guozhang Wang <wangg...@gmail.com>
Subject Re: How to delete Topic in kafka 0.8.1 ?
Date Tue, 03 Jun 2014 16:17:23 GMT
For now deleting topics would be a bit tedious and you need to stop the
brokers during the deletion. Here is what you can do:

1. Stop the brokers.
2. Delete the partition folders for this topic on all brokers.
3. Delete the topic-partition znode in ZK under the /brokers path.
4. Restart the brokers.

Guozhang


On Tue, Jun 3, 2014 at 6:32 AM, François Langelier <f.langelier@gmail.com>
wrote:

> There is probably some steps, but unfortunately I'm not too sure about them
> so I prefer to kept my mouth shut :)
>
> But from what I read in the link I sent you, even if it will be only
> available in the next release, there is a patch available and the code has
> been commit to trunk
> https://issues.apache.org/jira/browse/KAFKA-1397
>
>
> François Langelier
> Étudiant en génie Logiciel - École de Technologie Supérieure
> <http://www.etsmtl.ca/>
> Capitaine Club Capra <http://capra.etsmtl.ca/>
> VP-Communication - CS Games <http://csgames.org> 2014
> Jeux de Génie <http://www.jdgets.com/> 2011 à 2014
> Argentier Fraternité du Piranha <http://fraternitedupiranha.com/>
> 2012-2014
> Comité Organisateur Olympiades ÉTS 2012
> Compétition Québécoise d'Ingénierie 2012 - Compétition Senior
>
>
> On 3 June 2014 09:17, rafeeq s <rafeeq.ece71@gmail.com> wrote:
>
> > Thanks François,
> >
> > Then how we can delete topics in kafka 0.8.1 ?
> >
> > Is there any procedure/steps to delete topic ?
> >
> > Thanks for your kind response!
> >
> >
> > On Tue, Jun 3, 2014 at 3:57 PM, François Langelier <
> f.langelier@gmail.com>
> > wrote:
> >
> > > The delete topic isn't working ATM
> > >
> > > I think it will be available in the next release
> > > https://issues.apache.org/jira/browse/KAFKA-1397
> > >
> > >
> > >
> > >
> > > François Langelier
> > > Étudiant en génie Logiciel - École de Technologie Supérieure
> > > <http://www.etsmtl.ca/>
> > > Capitaine Club Capra <http://capra.etsmtl.ca/>
> > > VP-Communication - CS Games <http://csgames.org> 2014
> > > Jeux de Génie <http://www.jdgets.com/> 2011 à 2014
> > > Argentier Fraternité du Piranha <http://fraternitedupiranha.com/>
> > > 2012-2014
> > > Comité Organisateur Olympiades ÉTS 2012
> > > Compétition Québécoise d'Ingénierie 2012 - Compétition Senior
> > >
> > >
> > > On 3 June 2014 07:47, rafeeq s <rafeeq.ece71@gmail.com> wrote:
> > >
> > > > I am using Kafka 0.8.1 and I tried to execute Topic delete command
> but
> > > > still Topic list showing that specific Topic.
> > > >
> > > > Topic Delete commad which i used:
> > > >
> > > > *bin/kafka-topics.sh --zookeeper zk_host:port/chroot --delete --topic
> > > > my_topic_name*
> > > >
> > > > How can i verify that my_topic is deleted ?
> > > >
> > > > Is there specific steps to delete Topic in Kafka 0.8.1 ?
> > > >
> > > > Thanks in advance!
> > > >
> > >
> >
>



-- 
-- Guozhang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message