按照文档ubuntu中安装kafka kafka_2.13-3.0.0/

来源:8-7 Kafka 的安装与运行

itxingqing

2022-02-13

启动zk后,再启动kafka后,紧接着,在ubuntu的命令窗口中,输出以下信息
[2022-02-13 21:35:40,846] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:35:41,966] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:35:43,086] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:35:44,206] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:35:47,342] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:35:47,445] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:35:48,558] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:35:48,661] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:35:49,774] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:35:50,894] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:35:52,014] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[A[2022-02-13 21:35:59,214] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:36:00,334] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2022-02-13 21:36:01,454] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (/175.24.166.37:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)

写回答

1回答

张勤一

2022-02-14

同学你好:

    看报错,就是 Kafka 的 Broker 连接不上,弄个单机版本的跑起来就行,不需要折腾这些工具;公司里面都是专业的 DEVOPS 去做这些。

1
1
itxingqing
就是整的单机版的,不行
2022-02-16
共1条回复

Spring Cloud / Alibaba 微服务架构实战

从架构设计到开发实践,手把手实现

1210 学习 · 674 问题

查看课程