开发者社区 > 云原生 > 云消息队列 > 正文

在broker启动时候指定properties并且开启proxy时候启动该报错咋办?

rocketmq-5.0.0 % sh bin/mqbroker -c conf/2m-noslave/broker-a.properties --enable-proxy find an unexpect err.java.lang.NullPointerException java.lang.NullPointerException at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) at java.base/java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) at java.base/java.util.Properties.put(Properties.java:1329) at java.base/java.util.Properties.setProperty(Properties.java:229) at java.base/java.lang.System.setProperty(System.java:896) at org.apache.rocketmq.proxy.service.mqclient.MQClientAPIFactory.init(MQClientAPIFactory.java:58) at org.apache.rocketmq.proxy.service.mqclient.MQClientAPIFactory.(MQClientAPIFactory.java:51) at org.apache.rocketmq.proxy.service.LocalServiceManager.(LocalServiceManager.java:62) at org.apache.rocketmq.proxy.service.ServiceManagerFactory.createForLocalMode(ServiceManagerFactory.java:28) at org.apache.rocketmq.proxy.processor.DefaultMessagingProcessor.createForLocalMode(DefaultMessagingProcessor.java:100) at org.apache.rocketmq.proxy.processor.DefaultMessagingProcessor.createForLocalMode(DefaultMessagingProcessor.java:96) at org.apache.rocketmq.proxy.ProxyStartup.createMessagingProcessor(ProxyStartup.java:190) at org.apache.rocketmq.proxy.ProxyStartup.main(ProxyStartup.java:79)

展开
收起
爱喝咖啡嘿 2023-01-04 10:32:42 515 0
1 条回答
写回答
取消 提交回答
  • org.apache.rocketmq.proxy.service.mqclient.MQClientAPIFactory.init(MQClientAPIFactory.java:58)——该回答整理自钉群“群2-Apache RocketMQ 中国开发者钉钉群”

    2023-01-06 11:40:53
    赞同 展开评论 打赏
问答分类:

涵盖 RocketMQ、Kafka、RabbitMQ、MQTT、轻量消息队列(原MNS) 的消息队列产品体系,全系产品 Serverless 化。RocketMQ 一站式学习:https://rocketmq.io/

热门讨论

热门文章

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载