orchidFang opened a new issue, #415:
URL: https://github.com/apache/rocketmq-clients/issues/415

   你好,为什么使用updateSubGroup时,经检查重试策略的json配置没有问题,会报json解析错误。
   
   cc @aaron-ai 
   
   <img width="1048" alt="image" 
src="https://user-images.githubusercontent.com/6478487/226368256-4cf5cc30-0ced-4b91-bd8e-c77349798e3f.png";>
   
   ./mqadmin updateSubGroup -n localhost:9876 -g system -p 
{"type":"EXPONENTIAL","exponentialRetryPolicy":{"initial":5000,"max":7200000,"multiplier":2}}
   
   
   
   org.apache.rocketmq.tools.command.SubCommandException: 
UpdateSubGroupSubCommand command failed
        at 
org.apache.rocketmq.tools.command.consumer.UpdateSubGroupSubCommand.execute(UpdateSubGroupSubCommand.java:211)
        at 
org.apache.rocketmq.tools.command.MQAdminStartup.main0(MQAdminStartup.java:160)
        at 
org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:110)
   **Caused by: com.alibaba.fastjson.JSONException: error parse true**
        at 
com.alibaba.fastjson.parser.JSONLexerBase.scanTrue(JSONLexerBase.java:4642)
        at 
com.alibaba.fastjson.parser.JSONLexerBase.nextToken(JSONLexerBase.java:148)
        at 
com.alibaba.fastjson.parser.DefaultJSONParser.<init>(DefaultJSONParser.java:170)
        at 
com.alibaba.fastjson.parser.DefaultJSONParser.<init>(DefaultJSONParser.java:141)
        at com.alibaba.fastjson.JSON.parseObject(JSON.java:378)
        at com.alibaba.fastjson.JSON.parseObject(JSON.java:298)
        at com.alibaba.fastjson.JSON.parseObject(JSON.java:588)
        at 
org.apache.rocketmq.tools.command.consumer.UpdateSubGroupSubCommand.execute(UpdateSubGroupSubCommand.java:159)
        ... 2 more
   
   


-- 
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