liuxuzxx edited a comment on issue #3369:
URL: https://github.com/apache/rocketmq/issues/3369#issuecomment-925819650


   > brokerAddrs":{0:"172.16.16.37:10911"} 
地址这里也有冒号,导致解析失败的,将这里的key设置为string,就可以避免这个问题
   
   
还有这个RocketMQ的获取cluster信息的JSON数据格式,不是我决定的,而是Namesrv返回的,我看到使用rocketmq团队提供的java客户端,获取这个json同样是这样子的,只不过java客户端使用的是fastjson进行解析的,但是我使用的go客户端是用encoding/json工具类解析的!所以,我无法设置这个key为string,目前倒是可以通过正则表达式替换的方式来处理!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to