mirror of https://github.com/apache/kafka.git
KAFKA-12672: Added config for raft testing server (#10545)
Adding a property to the `raft/config/kraft.properties` for running the raft test server in development. For testing I ran `./bin/test-kraft-server-start.sh --config config/kraft.properties` and validated the test server started running with a throughput test. Reviewers: Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
parent
fc405d792d
commit
637c44c976
|
@ -16,6 +16,7 @@ Create 3 separate KRaft quorum properties as the following:
|
|||
|
||||
node.id=1
|
||||
listeners=PLAINTEXT://localhost:9092
|
||||
controller.listener.names=PLAINTEXT
|
||||
controller.quorum.voters=1@localhost:9092,2@localhost:9093,3@localhost:9094
|
||||
log.dirs=/tmp/kraft-logs-1
|
||||
EOF
|
||||
|
@ -24,6 +25,7 @@ Create 3 separate KRaft quorum properties as the following:
|
|||
|
||||
node.id=2
|
||||
listeners=PLAINTEXT://localhost:9093
|
||||
controller.listener.names=PLAINTEXT
|
||||
controller.quorum.voters=1@localhost:9092,2@localhost:9093,3@localhost:9094
|
||||
log.dirs=/tmp/kraft-logs-2
|
||||
EOF
|
||||
|
@ -32,6 +34,7 @@ Create 3 separate KRaft quorum properties as the following:
|
|||
|
||||
node.id=3
|
||||
listeners=PLAINTEXT://localhost:9094
|
||||
controller.listener.names=PLAINTEXT
|
||||
controller.quorum.voters=1@localhost:9092,2@localhost:9093,3@localhost:9094
|
||||
log.dirs=/tmp/kraft-logs-3
|
||||
EOF
|
||||
|
|
|
@ -15,5 +15,6 @@
|
|||
|
||||
node.id=0
|
||||
listeners=PLAINTEXT://localhost:9092
|
||||
controller.listener.names=PLAINTEXT
|
||||
controller.quorum.voters=0@localhost:9092
|
||||
log.dirs=/tmp/kraft-logs
|
||||
|
|
Loading…
Reference in New Issue