You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "zzzzzmh (via GitHub)" <gi...@apache.org> on 2025/05/07 11:05:06 UTC
[D] broker 主从同步突然崩了,%RETRY%* topic 无法同步 [rocketmq]
GitHub user zzzzzmh created a discussion: broker 主从同步突然崩了,%RETRY%* topic 无法同步
2025-05-07 17:34:57 INFO BrokerControllerScheduledThread1 - create new topic [TopicConfig [topicName=%RETRY%test-group, readQueueNums=1, writeQueueNums=1, perm=RW-, topicFilterType=SINGLE_TAG, topicSysFlag=0, order=false, attributes={}]]
2025-05-07 17:34:57 ERROR BrokerControllerScheduledThread1 - SyncTopicConfig Exception, 10.200.135.227:10911
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:4705)
at org.apache.rocketmq.broker.slave.SlaveSynchronize.syncTopicConfig(SlaveSynchronize.java:102)
默认创建的 重试队列 无法同步,什么原因。
GitHub link: https://github.com/apache/rocketmq/discussions/9391
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
Re: [D] broker 主从同步突然崩了,%RETRY%* topic 无法同步 [rocketmq]
Posted by "zzzzzmh (via GitHub)" <gi...@apache.org>.
GitHub user zzzzzmh added a comment to the discussion: broker 主从同步突然崩了,%RETRY%* topic 无法同步
<img width="1187" alt="企业微信截图_c38212c1-8bdd-4429-97b2-df26df5ff354" src="https://github.com/user-attachments/assets/75a13d31-10e7-487c-a2b7-f4dcd147453b" />
topic数 metrics 显示不一致。运行数月,这几天开始不一致。
GitHub link: https://github.com/apache/rocketmq/discussions/9391#discussioncomment-13062693
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
Re: [D] broker 主从同步突然崩了,%RETRY%* topic 无法同步 [rocketmq]
Posted by "zzzzzmh (via GitHub)" <gi...@apache.org>.
GitHub user zzzzzmh added a comment to the discussion: broker 主从同步突然崩了,%RETRY%* topic 无法同步
this.brokerController.getBrokerOuterAPI().getAllTopicConfig(masterAddrBak) 接口返回的数据
@String[test-insurance-business-workorder-handle-topic]:@TopicConfig[TopicConfig [topicName=test-insurance-business-workorder-handle-topic, readQueueNums=8, writeQueueNums=8, perm=RW-, topicFilterType=SINGLE_TAG, topicSysFlag=0, order=false, attributes={message.type=NORMAL}]],
message.type 哪里没有处理对?
GitHub link: https://github.com/apache/rocketmq/discussions/9391#discussioncomment-13062598
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org