yahoo / CMAK

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

How do I implement data migration of CMAK? #723

Open HistoryGift opened 4 years ago

HistoryGift commented 4 years ago

My CMAK is kafka-manager-1.3.3.22 ,Now I hope to upgrade it ? I have a question, when i start two version CMAK processes , how to implement data migration from old version to new version and two CMAK do not affect each other?

patelh commented 4 years ago

It is backwards compatible, you should be able to just use latest version and it will look at same location in zookeeper.

patelh commented 4 years ago

You can have both old and new version running, but old version would fail as soon as you modified any cluster config with a newer version of kafka then the old version supports.

patelh commented 4 years ago

You should be able to copy the old application.conf over to the new version and it should work out of the box. Just the new version runs with command bin/cmak instead of bin/kafka-manager.