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

   ### Before Creating the Bug Report
   
   - [x] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [x] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [x] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   OS: CentOS Linux release 7.8.2003 
   
   
   ### RocketMQ version
   
   rocketmq-all-5.3.3-bin-release
   
   ### JDK Version
   
   jdk1.8.0_212
   
   ### Describe the Bug
   
   部署环境:采用 controller + broker方式部署,节点IP 192.168.16.191-193
   问题描述:
   1,命令行创建topic 
     sh bin/mqadmin updateTopic -n 192.168.16.191:9876 -t topic_b -c 
RaftCluster -a +message.type=NORMAL -w 12 -r 12 
    正常返回结果,并且通过dashoard可以看到topic,但是除了当前master 
broker以外broker的topics.json中没有任何topic信息,包括系统topic topics.json内容如下
   ```
   {
        "dataVersion":{
                "counter":39,
                "stateVersion":2,
                "timestamp":1765720883131
        },
        "topicConfigTable":{}
   }
   ```
   然后 broker日志提示以下异常,提示 topic.key “essage.type” 异常,字面上看看比是少了个 “m”,完整异常信息如下
   ```
   2025-12-14 22:00:35 ERROR BrokerControllerScheduledThread1 - SyncTopicConfig 
Exception, 192.168.16.192:30911
   java.lang.RuntimeException: only add attribute is supported while creating 
topic. key: essage.type
        at 
org.apache.rocketmq.common.attribute.AttributeUtil.alterCurrentAttributes(AttributeUtil.java:53)
        at 
org.apache.rocketmq.broker.topic.TopicConfigManager.updateSingleTopicConfigWithoutPersist(TopicConfigManager.java:506)
        at 
java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4707)
        at 
org.apache.rocketmq.broker.slave.SlaveSynchronize.syncTopicConfig(SlaveSynchronize.java:102)
        at 
org.apache.rocketmq.broker.slave.SlaveSynchronize.syncAll(SlaveSynchronize.java:66)
   
   ```
   
   ### Steps to Reproduce
   
   然后删除创建的topic "topic_b"后所有slave broker开始正常同步master的 topics.json文件,并且内容正常。
   
   ### What Did You Expect to See?
   
   确定是不是 essage.type 关键词错误导致的topic 同步异常
   
   ### What Did You See Instead?
   
   确定是不是 essage.type 关键词错误导致的topic 同步异常
   
   ### Additional Context
   
   _No response_


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