org.springframework.kafka.support.LoggingProducerListener- Exception thrown when sending a message with key='null' and payload='{"dataDts":["20180329","20180328","20180327","20180326","20180323"],"prodCd":"ZZTZYCZG01","type":"ed...' to topic proccess_trading_end:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.

 

 

排查到的原因  配置的IP跟host 不对 

错误排查:

  1.     服务器防火墙已关闭,本地telnet连接9092端口没问题
  2.     kafka配置文件 listeners=PLAINTEXT://{内网ip}:9092
  3.     将项目日志级别调制DEBUG 发现启动过程报错  

解决办法  修改IP为正确IP

相关文章:

  • 2021-07-12
  • 2021-05-18
  • 2021-11-28
  • 2021-09-06
  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
  • 2021-11-07
猜你喜欢
  • 2021-08-05
  • 2022-12-23
  • 2017-12-04
  • 2022-12-23
  • 2022-01-09
  • 2021-10-03
相关资源
相似解决方案