[ https://issues.apache.org/jira/browse/KAFKA-10724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin McCabe resolved KAFKA-10724. ---------------------------------- Resolution: Fixed > 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)