- Newest
- Most votes
- Most comments
Amazon MSK currently uses Zookeeper for quorum management and there is no option currently to use KRaft on Amazon MSK. Please, see Supported Apache Kafka versions reference for more details on this.
Regarding the part when you mentioned the Create Topic step in AWS MSK guide, it does not use Kraft mode. Many of the command-line tools that previously used the --zookeeper flags have been updated to use the --bootstrap-server option. More details on the deprecation of the --zookeeper flag on Apache Kafka can be found on this KIP.
On AWS MSK, you can use Kafka in KRaft mode. For managing Kafka clusters, AWS MSK supports both ZooKeeper and KRaft modes.
To create a Kafka cluster in KRaft mode, you can follow the same steps as creating a cluster with ZooKeeper, but with a few modifications.
To do this
Amazon MSK service > Create cluster > Basic configuration > Select Kafka Version > Cluster configuration > select the "KRaft" option for "Configuration type" > Configure the rest of the options for your Kafka cluster
Once your Kafka cluster in KRaft mode is up and running, you can create and manage topics using the Kafka command-line tools or the AWS MSK API.
Relevant content
- asked 2 years ago
- asked 4 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 5 months ago
Hello, thank you for your reply! Could you please provide more details regarding this process? Is there any AWS Guide for it?
I don't see the "KRaft" option for "Configuration type" when I am in the Create Cluster menu. I see only Amazon MSK Default Configuration and Custom Configuration, that is with empty drop-down menu.
There is no such thing as "basic configuration" for MSK cluster. KRaft is not available for MSK.