【问题标题】:why does zookeeper-server-start from homebrew work with kafka server but not zkServer start为什么 homebrew 的 zookeeper-server-start 可以与 kafka 服务器一起使用,但不能与 zkServer start 一起使用
【发布时间】:2020-07-04 14:02:27
【问题描述】:

两者都使用相同的配置文件运行,但是当我在运行zkServer start 时运行kafka-server-start 时,我收到此错误INFO Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn),但在运行zookeeper-server-start 时却没有。

【问题讨论】:

    标签: apache-kafka homebrew apache-zookeeper


    【解决方案1】:

    这是一条INFO消息,不是错误。

    有什么事情没有按预期工作吗?如果是这样,问题就出在其他地方。忽略它。

    但在运行 zookeeper-server-start 时不会

    因为 Zookeeper 没有尝试连接到自己

    【讨论】:

      猜你喜欢
      • 2019-06-19
      • 1970-01-01
      • 1970-01-01
      • 2017-05-16
      • 1970-01-01
      • 1970-01-01
      • 2019-10-26
      • 2017-01-31
      • 2021-11-15
      相关资源
      最近更新 更多