简体   繁体   中英

Switching Kafka from Kraft to Zookeeper

I have a recent Kafka cluster which uses Kraft. I am facing some problems with it and it is possibly due to use of Kraft. I wish to switch to Zookeeper without losing data. Downtime is okay. How do I go about it?

I'm afraid there isn't a documented process to downgrade a cluster from KRaft to ZooKeeper.

If you've found an issue with KRaft, you should report it to the Kafka project via a Jira ticket so it can get fixed.

Assuming your KRaft cluster is somewhat functional, a way to preserve your data is to create a new cluster (running ZooKeeper) and use a tool like MirrorMaker to migrate your data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM