我想在GCP中安装kafka集群(Bitnami)。 能够成功创建主题,但是从TOPIC发布消息时却出错:-
rahuldalover @ kc-kafka-0:〜$ kafka-console-producer.sh --broker-list localhost:9092,kc-kafka-1:9092 --topic测试
测试 [2018-10-25 17:24:02,573]警告[Producer clientId = console-producer] Bootstrap broker kc-kafka-1:9092(id:-2 rack: null)断开连接(org.apache.kafka.clients.NetworkClient) [2018-10-25 17:24:02,580]警告[Producer clientId = console-producer] Bootstrap broker localhost:9092(id:-1 rack:n ull)断开连接(org.apache.kafka.clients.NetworkClient)