KAFKA-17728 Add missing config `replica-directory-id` to raft README (#17518)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Kuan-Po Tseng 2024-10-17 11:32:27 +08:00 committed by GitHub
parent 8adfdbbde0
commit 60ea0999fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -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. 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 ### ### 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 ### ### Run Multi Node Quorum ###
Create 3 separate KRaft quorum properties as the following: 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: 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-1.properties --replica-directory-id b8tRS7h4TJ2Vt43Dp85v2A
bin/test-kraft-server-start.sh --config config/kraft-quorum-2.properties 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 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 Once a leader is elected, it will begin writing to an internal
`__raft_performance_test` topic with a steady workload of random data. `__raft_performance_test` topic with a steady workload of random data.