You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2022/10/14 13:48:14 UTC

[kafka] branch running-kraft-mode-readme created (now d66cdade89e)

This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a change to branch running-kraft-mode-readme
in repository https://gitbox.apache.org/repos/asf/kafka.git


      at d66cdade89e MINOR: Inline "Running a Kafka broker in KRaft mode"

This branch includes the following new commits:

     new d66cdade89e MINOR: Inline "Running a Kafka broker in KRaft mode"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[kafka] 01/01: MINOR: Inline "Running a Kafka broker in KRaft mode"

Posted by ij...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch running-kraft-mode-readme
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit d66cdade89e26165e7505ae65ad4e0df86822598
Author: Ismael Juma <is...@juma.me.uk>
AuthorDate: Fri Oct 14 06:48:03 2022 -0700

    MINOR: Inline "Running a Kafka broker in KRaft mode"
    
    Also moved KRaft mode above zk mode.
---
 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