Hello,
We recently migrated from Kafka 0.8 to 0.10, while keeping the log format and
internal communication at 0.9 version[1]. We have a cluster of two nodes which
is working correctly for 10 topics (producers/consumers work fine).
Trying to create a new topic raises:
kafka-topics.sh --zookeeper zknode:2181 --create --replication-factor 1
--partitions 2 --topic newtopic
Error while executing topic command : replication factor: 1 larger than
available brokers: 0
[2016-12-28 09:30:02,177] ERROR
org.apache.kafka.common.errors.InvalidReplicationFactorException: replication
factor: 1 larger than available brokers: 0
(kafka.admin.TopicCommand$)
There are two available brokers, so this must be a different error hidden
behind this error message. There’s nothing in the log file.
Where should we start investigating?
Thanks,
Alex Eftimie
Software Engineer DevOps
[1]
kafka version: 0.10.1.0
# config:
inter.broker.protocol.version=0.9.0.1
log.message.format.version=0.9.0.1
--
------------------------------
[image: email GYG_Logo__Standart_Transparent_400x600_WEB copy.png]
<http://www.getyourguide.com>
GetYourGuide AG
Technoparkstrasse 1
8005 Zürich
Switzerland
<https://www.facebook.com/GetYourGuide> <https://twitter.com/GetYourGuide>
<https://www.instagram.com/getyourguide/>
<https://www.linkedin.com/company/getyourguide-ag> [image: Icon_4.png]
<http://www.getyourguide.com>