Kafka刚开启就秒退
[[email protected] config]$ kafka-server-start.sh $KAFKA_HOME/config/server.properties
发现是忘记配置hosts文件的映射
解决:
进入:etc/hosts
[[email protected] etc]$ sudo vi hosts
修改对应的关系
[[email protected] config]$ kafka-server-start.sh $KAFKA_HOME/config/server.properties
发现是忘记配置hosts文件的映射
解决:
进入:etc/hosts
[[email protected] etc]$ sudo vi hosts
修改对应的关系