Browse Source

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>
pull/10546/head
Bill Bejeck 4 years ago committed by GitHub
parent
commit
637c44c976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      raft/README.md
  2. 1
      raft/config/kraft.properties

3
raft/README.md

@ -16,6 +16,7 @@ Create 3 separate KRaft quorum properties as the following: @@ -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: @@ -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: @@ -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

1
raft/config/kraft.properties

@ -15,5 +15,6 @@ @@ -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…
Cancel
Save