Oliverwqcwrw opened a new issue, #6445:
URL: https://github.com/apache/rocketmq/issues/6445

   
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   
   ```shell
   $ bin/mqadmin updateTopic -w 8 -r 8 -a +delete.policy=COMPACTION -n 
localhost:9876 -t ctopic -c DefaultCluster
   create topic to 127.0.0.1:10911 success.
   TopicConfig [topicName=ctopic, readQueueNums=8, writeQueueNums=8, perm=RW-, 
topicFilterType=SINGLE_TAG, topicSysFlag=0, order=false, 
attributes={+delete.policy=COMPACTION}]
   ```
   
   > 
         Caused by: org.apache.rocketmq.client.exception.MQClientException: 
CODE: 1  DESC: unsupported key: delete.policy
         For more information, please visit the url, 
https://rocketmq.apache.org/docs/bestPractice/06FAQ
        at 
org.apache.rocketmq.client.impl.MQClientAPIImpl.createTopic(MQClientAPIImpl.java:401)
        at 
         
org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.createAndUpdateTopicConfig(DefaultMQAdminExtImpl.java:270)
        at 
org.apache.rocketmq.tools.admin.DefaultMQAdminExt.createAndUpdateTopicConfig(DefaultMQAdminExt.java:189)
        at 
org.apache.rocketmq.tools.command.topic.UpdateTopicSubCommand.execute(UpdateTopicSubCommand.java:173)
        ... 2 more
   
   - What is expected to see?
   
   The message property should be `cleanup.policy`
   
   - What did you see instead?
   
   2. Please tell us about your environment:
   
   3. Other information (e.g. detailed explanation, logs, related issues, 
suggestions on how to fix, etc):
   
   


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