Apache kafka 启动ksql服务器start/etc/ksql/ksqlserver.properties时出现ksqlseteption

Apache kafka 启动ksql服务器start/etc/ksql/ksqlserver.properties时出现ksqlseteption,apache-kafka,ksqldb,Apache Kafka,Ksqldb,我们正在使用Docker设置ksql。但它会抛出 Exception in thread "main" io.confluent.ksql.util.KsqlException: Unable to check broker compatibility against a broker without any topics 这是/etc/ksql/ksqlserver.properties文件的内容: bootstrap.servers=0e234781853f:9092,5e9fbcd032

我们正在使用Docker设置ksql。但它会抛出

Exception in thread "main" io.confluent.ksql.util.KsqlException: Unable to check broker compatibility against a broker without any topics
这是/etc/ksql/ksqlserver.properties文件的内容:

bootstrap.servers=0e234781853f:9092,5e9fbcd03294:9092,c48090cb8e79:9092
ksql.command.topic.suffix=commands_2018-01-10-022223
listeners=http://0.0.0.0:8080
commit.interval.ms=1000
auto.offset.reset=earliest
“0e234781853f:9092、5e9fbcd03294:9092、c48090cb8e79:9092”是卡夫卡代理容器。我们可以从ksql容器向代理生成消息


我们使用“confluentinc/ksql cli:0.3”dockerhub映像作为基础。那么,我的设置是否有任何错误?

根据日志消息,您似乎需要首先在您的代理上至少创建一个主题,例如,使用命令行:


kafka topics--zookeeper--create--topic test--partitions 1--replication factor 1

根据日志消息,您似乎需要首先在您的代理上至少创建一个主题,例如使用命令行:


kafka主题--zookeeper--create--topic test--partitions 1--replication factor 1

是的,正如David Cheung所说,兼容性检查在kafka集群中至少需要一个主题。我们将在下一个版本中删除此要求。

是的,正如David Cheung所说,兼容性检查在您的kafka集群中至少需要一个主题。我们将在下一版本中删除此要求