kafka发送消息报错
错误如下:
1.java.io.IOException: Can’t resolve address: kafka2:9093
2.Exception thrown when sending a message with key=‘null’ and payload=‘37’ to topic product:

解决方法
在你的本机中 /etc/hosts文件中 加入kafka的映射地址

kafka发送消息报错 java.io.IOException: Can‘t resolve address: kafka2:9093 和
阅读 138
2022-01-17
错误如下:
1.java.io.IOException: Can’t resolve address: kafka2:9093
2.Exception thrown when sending a message with key=‘null’ and payload=‘37’ to topic product:

解决方法
在你的本机中 /etc/hosts文件中 加入kafka的映射地址

相关推荐
精彩评论(0)