kafka中如果输入命令报错WARN [AdminClient clientId=adminclient-1] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available.
证明你忘了启动kafka
启动命令是
`nohup bin/kafka-server-start.sh config/server.properties
来源:CSDN
作者:王玉君
链接:https://blog.csdn.net/weixin_45955039/article/details/104107609