Open
Description
In later versions Kafka supports running without ZooKeeper and provides its own KRaft consensus algorithm.
We should look into enabling the operator to deploy Kafka in this mode.
To discuss:
- New CRD role for controllers
- optional field
- New CRD version
- no
- make zookeeper config map name optional
- sanity checks for kraft & zk relevant fields
- Provision log dirs with
meta.properties
- New set of integration tests
Migration guide: https://docs.confluent.io/platform/current/installation/migrate-zk-kraft.html
- test manually with 3.9.0 and decide later if automation is feasible
- automated migration is out of scope
- Users need to migrate to KRaft (with 3.9.0) before upgrading to 4.0.0.