kafka-enable-remote

用的sptingboot的KafkaTemplate连接kafka,结果出现java.net.UnknownHostException

然后改了kafka server配置

1
vi config/server.properties

20191124020334.png

就行了