Creating a Kafka cluster with dedicated Zookeeper nodes
By default, Zookeeper co-exists with Kafka on an instance. However, you have the option to have Zookeeper exist on a dedicated instance. This can free up more resources for Kafka and help Kafka to handle higher load.
To start, you have to choose Kafka with a version higher than 2.5.1 on the Console. Then you can tick the option of Dedicated Zookeeper Nodes:
You can now choose a node size for Kafka and Zookeeper separately, but both node size have to be in the same group. For example, if the Kafka node size is production sized, the Zookeeper node size must also be a production node size, as you can see below:
Then you have the option to have either 3 or 5 Zookeeper nodes:
Once you have set other Kafka related settings, click Create Cluster button, you can see the zookeeper is now on a separate instance: