You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Rajiv Kurian <ra...@signalfx.com> on 2016/07/14 20:36:17 UTC

Deleting a topic on the 0.8x brokers

We plan to stop using a particular Kafka topic running on a certain subset
of a 0.82x cluster. This topic is served by 9 brokers (leaders + replicas)
and these 9 brokers have no other topics on them.

Once we have stopped sending and consuming traffic from this topic (and
hence the 9 brokers) what is the best way to delete the topic and shut them
down?

Will it suffice to shut down the brokers since they are not servicing
traffic from any other topic?

Thanks,
Rajiv

Re: Deleting a topic on the 0.8x brokers

Posted by Harsha Chintalapani <ka...@harsha.io>.
One way to delete is to delete the topic partition directories from disks
and delete /broker/topics.
If you just shutdown those brokers controller might try to replicate the
topic onto brokers and since you don't have any leaders you might replica
fetcher errors in the logs.
Thanks,
Harsha

On Thu, Jul 14, 2016 at 1:36 PM Rajiv Kurian <ra...@signalfx.com> wrote:

> We plan to stop using a particular Kafka topic running on a certain subset
> of a 0.82x cluster. This topic is served by 9 brokers (leaders + replicas)
> and these 9 brokers have no other topics on them.
>
> Once we have stopped sending and consuming traffic from this topic (and
> hence the 9 brokers) what is the best way to delete the topic and shut them
> down?
>
> Will it suffice to shut down the brokers since they are not servicing
> traffic from any other topic?
>
> Thanks,
> Rajiv
>