RocketMQ 调用出错sendDefaultImpl call timeout

傷城~ 2022-12-03 15:42 428阅读 0赞

修改conf文件夹下的broker.conf

在broker.conf配置中增加这个配置

  1. brokerIP1=[你的IP]
  2. autoCreateTopicEnable=true

重新启动broker

把原先的启动命令换成

  1. sh /bin/mqbroker -n 192.168.1.100:9876 -c ../conf/broker.conf

也可以用

  1. sh /bin/mqbroker -n 192.168.1.100:9876 autoCreateTopicEnable=true -c ../conf/broker.conf

因broker.conf 中已经增加了autoCreateTopicEnable=true的配置,默认下会自动创建topic

发表评论

表情:
评论列表 (有 0 条评论,428人围观)

还没有评论,来说两句吧...

相关阅读