This is an automated email from the ASF dual-hosted git repository. cmccabe pushed a commit to branch 3.3 in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.3 by this push: new 1fff2a11bfc MINOR: Inline "Running a Kafka broker in KRaft mode" (#12750) 1fff2a11bfc is described below commit 1fff2a11bfc8af155fbf1d11a1c79fd0193243c0 Author: Ismael Juma <ism...@juma.me.uk> AuthorDate: Tue Oct 18 06:12:25 2022 -0700 MINOR: Inline "Running a Kafka broker in KRaft mode" (#12750) Also moved KRaft mode above zk mode. Reviewers: Mickael Maison <mimai...@users.noreply.github.com> --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2aa509e0810..36f71d122c8 100644 --- a/README.md +++ b/README.md @@ -83,15 +83,17 @@ fail due to code changes. You can just run: ./gradlew processMessages processTestMessages +### Running a Kafka broker in KRaft mode + + KAFKA_CLUSTER_ID="$(./bin/kafka-storage.sh random-uuid)" + ./bin/kafka-storage.sh format -t $KAFKA_CLUSTER_ID -c config/kraft/server.properties + ./bin/kafka-server-start.sh config/kraft/server.properties + ### Running a Kafka broker in ZooKeeper mode ./bin/zookeeper-server-start.sh config/zookeeper.properties ./bin/kafka-server-start.sh config/server.properties -### Running a Kafka broker in KRaft (Kafka Raft metadata) mode - -See [config/kraft/README.md](https://github.com/apache/kafka/blob/trunk/config/kraft/README.md). - ### Cleaning the build ### ./gradlew clean