From 60ea0999fb0063a9d2b3c7469920cdbce5c0fb54 Mon Sep 17 00:00:00 2001 From: Kuan-Po Tseng Date: Thu, 17 Oct 2024 11:32:27 +0800 Subject: [PATCH] KAFKA-17728 Add missing config `replica-directory-id` to raft README (#17518) Reviewers: Chia-Ping Tsai --- raft/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/raft/README.md b/raft/README.md index 9f9d4f42dbd..d0770044725 100644 --- a/raft/README.md +++ b/raft/README.md @@ -7,7 +7,7 @@ This is used by Apache Kafka in the KRaft (Kafka Raft Metadata) mode. We also have a standalone test server which can be used for performance testing. We describe the details to set this up below. ### Run Single Quorum ### - bin/test-kraft-server-start.sh --config config/kraft.properties + bin/test-kraft-server-start.sh --config config/kraft.properties --replica-directory-id b8tRS7h4TJ2Vt43Dp85v2A ### Run Multi Node Quorum ### Create 3 separate KRaft quorum properties as the following: @@ -41,9 +41,9 @@ Create 3 separate KRaft quorum properties as the following: Open up 3 separate terminals, and run individual commands: - bin/test-kraft-server-start.sh --config config/kraft-quorum-1.properties - bin/test-kraft-server-start.sh --config config/kraft-quorum-2.properties - bin/test-kraft-server-start.sh --config config/kraft-quorum-3.properties + bin/test-kraft-server-start.sh --config config/kraft-quorum-1.properties --replica-directory-id b8tRS7h4TJ2Vt43Dp85v2A + bin/test-kraft-server-start.sh --config config/kraft-quorum-2.properties --replica-directory-id Nkij_D9XRiYKNb41SiJo7Q + bin/test-kraft-server-start.sh --config config/kraft-quorum-3.properties --replica-directory-id 4-e97nI7eHPYKfEDtW8rtQ Once a leader is elected, it will begin writing to an internal `__raft_performance_test` topic with a steady workload of random data.