[prev in list] [next in list] [prev in thread] [next in thread]
List: mesos-dev
Subject: Unable to create a kafka topic on the cli of dcos
From: ned dogg <neddogg90 () gmail ! com>
Date: 2016-09-20 19:33:02
Message-ID: CAJiFU0qhAHwv5UUUzhwM7+7Z3B_B8-2OEz4a32SkLhXKtL+=GA () mail ! gmail ! com
[Download RAW message or body]
Hello Everybody,
I'm a newbie on dcos and I setup dcos and install kafka with cli. Now I
want to create a topic but when I try the command
dcos kafka topic create topic1 --partitions 1 --replication 1
I have the following error
{
"message": "Output: Error while executing topic command : replication
factor: 1 larger than available brokers: 0\n Error: [2016-09-20
12:11:53,798] ERROR kafka.admin.AdminOperationException: replication
factor: 1 larger than available brokers: 0\n\tat
kafka.admin.AdminUtils$.assignReplicasToBrokers(AdminUtils.scala:117)\n\tat
kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:403)\n\tat
kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:110)\n\tat
kafka.admin.TopicCommand$.main(TopicCommand.scala:61)\n\tat
kafka.admin.TopicCommand.main(TopicCommand.scala)\n
(kafka.admin.TopicCommand$)\n"
}
So I wanted to fixed that by creating a broker with the command
dcos kafka --name=kafka broker add
but I have another issue which outputs
dcos-kafka-linux: error: expected command but got "add"
Any clue please?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic