kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ANJANEYA PRASAD NIDUBROLU <anjaney...@gmail.com>
Subject Re: Kafka topic data automatically restore after deleting topics
Date Mon, 04 Feb 2019 04:26:11 GMT
Can you please try with 3 zookeeper nodes? I guess the leader election is
not happening correctly due to even number of servers.


On Sun, 3 Feb 2019, 17:27 Soheil Pourbafrani <soheil.ir08@gmail.com wrote:

> Hi,
> I use Kafka 0.11.3
> I delete topics from Kafka using the command *kafka-topic.sh *and after a
> while, I observer Kafka just mark topics for deletion while the
> property *delete.topic.enable
> *was true! So I stop Kafka cluster and delete the data log directory of
> Kafka using the command *rm -r /data/**
> After that, I open the Zookeeper CLI and remove the directory
> */brokers/topics.
> *Next, I start the Kafka nodes and it runs as fresh Kafka cluster and I
> create topics with the same name as those topics I deleted manually.
> Surprisingly I observe (using the command *du -sh /data/**) the data
> directory of Kafka change from 0 to 9.0G when I create all topics!!!!
> There is no producer running and I guess Kafka restore the previous deleted
> topics' data from somewhere (locally not remotely because it reaches 9.0G
> in a blink of an eye!)
> I have 2 Kafka node and 2 Zookeeper node on my cluster.
> What is the problem with Kafka?

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