提示示例:

ERROR Error when sending message to topic test with key: null, value: 2 bytes with error: Failed to update metadata after 60000 ms.

 

解决方案:

这样的问题需要修改broker的配置文件config/server.properties来解决:

1
advertised.host.name=你的IP地址(不能为hostname,一定要是IP地址。如果需要从外网访问,则需要使用外网地址)

相关文章:

  • 2021-10-13
  • 2019-08-02
  • 2021-09-05
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2021-11-16
  • 2021-07-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2021-05-05
  • 2021-12-20
相关资源
相似解决方案