Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Invalid
-
0.8.1
-
None
-
None
Description
when trying to-do this
bin/kafka-topics.sh --create --zookeeper 192.168.50.5:2181 --replication-factor 3 --partitions 3 --topic testing
I am getting this
Exception in thread "main" java.lang.NoSuchMethodError: kafka.admin.AdminUtils$.createTopic(Lorg/I0Itec/zkclient/ZkClient;Ljava/lang/String;IILjava/util/Properties;)V
at kafka.admin.TopicCommand$$anonfun$createTopic$1.apply(TopicCommand.scala:73)
at kafka.admin.TopicCommand$$anonfun$createTopic$1.apply(TopicCommand.scala:65)
at scala.collection.Iterator$class.foreach(Iterator.scala:631)
at scala.collection.JavaConversions$JIteratorWrapper.foreach(JavaConversions.scala:474)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:79)
at scala.collection.JavaConversions$JListWrapper.foreach(JavaConversions.scala:521)
at kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:65)
at kafka.admin.TopicCommand$.main(TopicCommand.scala:48)
at kafka.admin.TopicCommand.main(TopicCommand.scala)
however listing works fine
vagrant@precise64:/opt/kafka$ bin/kafka-topics.sh --list --zookeeper 192.168.50.5:2181
sandbox