mirror of https://github.com/apache/kafka.git
KAFKA-17728 Add missing config `replica-directory-id` to raft README (#17518)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
8adfdbbde0
commit
60ea0999fb
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue