0


Failed to construct kafka producer

问题重述:

org.apache.kafka.common.KafkaException: Failed to construct kafka producer

Caused by: org.apache.kafka.common.config.ConfigException: No resolvable bootstrap urls given in bootstrap.servers

Kafka连接不上

解决办法:

将kafka信息输入到hosts文件中

文件地址

"C:\Windows\System32\drivers\etc\hosts"

使用Notepad++打开,输入ip地址和kafka名称

标签: kafka 分布式

本文转载自: https://blog.csdn.net/thorn_s/article/details/135089892
版权归原作者 thorn_s 所有, 如有侵权,请联系我们删除。

“Failed to construct kafka producer”的评论:

还没有评论