updateSubGroup command set retryPolicy raise JSON Exception #6425
-
使用updateSubGroup设置重试策略时,经检查json配置没有问题,但报json解析错误。 COMMAND: ./mqadmin updateSubGroup -n localhost:9876 -g system -p {"type":"EXPONENTIAL","exponentialRetryPolicy":{"initial":5000,"max":7200000,"multiplier":2}} ERROR MSG: org.apache.rocketmq.tools.command.SubCommandException: UpdateSubGroupSubCommand command failed |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Please add quotation marks around your JSON string and include the ./mqadmin updateSubGroup -n localhost:9876 -g system -p '{"type":"EXPONENTIAL","exponentialRetryPolicy":{"initial":5000,"max":7200000,"multiplier":2}}' -c <your-cluster-name> |
Beta Was this translation helpful? Give feedback.
Please add quotation marks around your JSON string and include the
-c
option.