您当前的位置: 首页 > 

qq_34412985

暂无认证

  • 2浏览

    0关注

    1061博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

rocketmq使用常见问题

qq_34412985 发布时间:2019-09-17 13:07:13 ,浏览量:2

问题:         1、Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to failed

        2、com.alibaba.rocketmq.client.exception.MQClientException: Send [1] times, still failed, cost [1647]ms, Topic: TopicTest1, BrokersSent: [broker-a, null, null]

        3、org.apache.rocketmq.client.exception.MQClientException: Send [3] times, still failed, cost [497]ms, Topic: TopicTest, BrokersSent: [chenyaowudeMacBook-Air.local,     chenyaowudeMacBook-Air.local, chenyaowudeMacBook-Air.local]         解决:多网卡问题处理         1、设置producer:  producer.setVipChannelEnabled(false);         2、编辑ROCKETMQ 配置文件:broker.conf(下列ip为自己的ip)             namesrvAddr = 192.168.0.101:9876             brokerIP1 = 192.168.0.101

 

        4、DESC: service not available now, maybe disk full, CL:         解决:修改启动脚本runbroker.sh,在里面增加一句话即可:                 JAVA_OPT="${JAVA_OPT} -Drocketmq.broker.diskSpaceWarningLevelRatio=0.98"         (磁盘保护的百分比设置成98%,只有磁盘空间使用率达到98%时才拒绝接收producer消息)

        常见问题处理:             https://blog.csdn.net/sqzhao/article/details/54834761             https://blog.csdn.net/mayifan0/article/details/67633729             https://blog.csdn.net/a906423355/article/details/78192828

关注
打赏
1653291990
查看更多评论
立即登录/注册

微信扫码登录

0.0382s