You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2021/04/16 03:50:33 UTC
[kafka] branch trunk updated: KAFKA-12672: Added config for raft
testing server (#10545)
This is an automated email from the ASF dual-hosted git repository.
ijuma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 637c44c KAFKA-12672: Added config for raft testing server (#10545)
637c44c is described below
commit 637c44c976c115b7e770a6fd9e62e8822051b45b
Author: Bill Bejeck <bb...@gmail.com>
AuthorDate: Thu Apr 15 23:48:53 2021 -0400
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 <is...@juma.me.uk>
---
raft/README.md | 3 +++
raft/config/kraft.properties | 1 +
2 files changed, 4 insertions(+)
diff --git a/raft/README.md b/raft/README.md
index f4c2729..bc95c93 100644
--- a/raft/README.md
+++ b/raft/README.md
@@ -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
diff --git a/raft/config/kraft.properties b/raft/config/kraft.properties
index 674ce92..a8556db 100644
--- a/raft/config/kraft.properties
+++ b/raft/config/kraft.properties
@@ -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