[
https://issues.apache.org/jira/browse/KAFKA-10724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487230#comment-17487230
]
Colin McCabe commented on KAFKA-10724:
--------------------------------------
The command has been renamed to {{raft/bin/test-kraft-server-start.sh}}, and it
does have a {{--config}} flag now:
{code}
raft/bin/test-kraft-server-start.sh
Standalone raft server for performance testing
Option Description
------ -----------
--config <String: filename> Required configured file
--help Print usage information.
--record-size <Integer: size in bytes> The size of each record (default: 256)
--throughput <Integer: records/sec> The number of records per second the
leader will write to the metadata
topic (default: 5000)
--version Display Kafka version.
{code}
(To be clear, this is just an internal testing tool, not something that
end-users should use)
Closing.
> Command to run single quorum in raft is missing "--config" parameters.
> ----------------------------------------------------------------------
>
> Key: KAFKA-10724
> URL: https://issues.apache.org/jira/browse/KAFKA-10724
> Project: Kafka
> Issue Type: Bug
> Components: core, docs
> Reporter: huldar chen
> Priority: Major
> Labels: kip-500
>
> When I run "bin/test-raft-server-start.sh config/raft.properties", I get an
> error:
> [2020-11-14 23:00:38,742] ERROR Exiting Kafka due to fatal exception
> (kafka.tools.TestRaftServer$)
> org.apache.kafka.common.config.ConfigException: Missing required
> configuration "zookeeper.connect" which has no default value.
> at org.apache.kafka.common.config.ConfigDef.parseValue(ConfigDef.java:478)
> at org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:468)
> at
> org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:108)
> at
> org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:142)
> at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:1314)
> at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:1317)
> at kafka.tools.TestRaftServer$.main(TestRaftServer.scala:607)
> at kafka.tools.TestRaftServer.main(TestRaftServer.scala)
> The correct command is “ ./bin/test-raft-server-start.sh --config
> ./config/raft.properties”
--
This message was sent by Atlassian Jira
(v8.20.1#820001)