yahoo / CMAK

CMAK is a tool for managing Apache Kafka clusters
Apache License 2.0
11.84k stars 2.5k forks source link

Why can cmak remember cluster information? #818

Open lanzhiwang opened 4 years ago

lanzhiwang commented 4 years ago

I installed cmak and run it successfully, and then added the kafka cluster information. Everything is normal. After killing cmak, I re-run cmak, and I found that the previous kafka cluster information still exists. Why is this?

116davinder commented 3 years ago

@lanzhiwang I believe, it stores all information in Zookeeper so you have to cleanup zookeeper as well for it which you have mentioned in cmak configuration.

myl2821 commented 3 years ago

Read the code and you will find the result, all the logic is simple and straightforward.

the reading entrypoint:

https://github.com/yahoo/CMAK/blob/master/app/kafka/manager/KafkaManager.scala#L255