Skip to content

Commit

Permalink
KAFKA-17728 Add missing config replica-directory-id to raft README (#…
Browse files Browse the repository at this point in the history
…17518)

Reviewers: Chia-Ping Tsai <[email protected]>
  • Loading branch information
brandboat authored Oct 17, 2024
1 parent 8adfdbb commit 60ea099
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions raft/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 60ea099

Please sign in to comment.