You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/11/10 09:59:39 UTC

[GitHub] [rocketmq] TO-21 opened a new issue, #5506: Question : How do I create TOPIC of type DELAY?

TO-21 opened a new issue, #5506:
URL: https://github.com/apache/rocketmq/issues/5506

   ### 请教一下,我该如何创建类型为DELAY的主题呢?
   我查阅了5.0的文档,但是不知道如何创建 用于延迟消息的主题,似乎在文档中找不到对这块的描述。
   使用console 或 rmqadmin updateTopic命令创建的主题类型为normal
   会导致类型不匹配的异常
   ```
   java.lang.IllegalArgumentException: Current message type not match with topic accept message types, topic=TOPIC_DEVICE_EVENT_ALARM, actualMessageType=DELAY, acceptMessageTypes=[NORMAL]
   ```
   
   我尝试用自动创建的方式来创建DELAY类型的主题
   配置了broker.conf,开启了 自动创建主题 autoCreateTopicEnable=true
   可能是由于通过proxy 的原因,抛如下异常,主题无法被自动创建
   ```
   DESC: No topic route info in name server for the topic: TOPIC_DELAY_BIZ_TEST
   ```
   


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] pipi18 commented on issue #5506: Question : How do I create TOPIC of type DELAY?

Posted by GitBox <gi...@apache.org>.
pipi18 commented on issue #5506:
URL: https://github.com/apache/rocketmq/issues/5506#issuecomment-1312342246

   5.0的官方文档,还有很多完善之处,欢迎参与补充。


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] CHENYGITHUB commented on issue #5506: Question : How do I create TOPIC of type DELAY?

Posted by GitBox <gi...@apache.org>.
CHENYGITHUB commented on issue #5506:
URL: https://github.com/apache/rocketmq/issues/5506#issuecomment-1311299487

   sh bin/mqadmin updatetopic -n localhost:9876 -t topic_name -c DefaultCluster -a +message.type=DELAY
   参数说明:
   -a,--attributes <arg>       attribute(+a=b,+c=d,-e)
   -c,--clusterName <arg>      create topic to which cluster
   -t,--topic <arg>            topic name


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] fuyou001 commented on issue #5506: Question : How do I create TOPIC of type DELAY?

Posted by GitBox <gi...@apache.org>.
fuyou001 commented on issue #5506:
URL: https://github.com/apache/rocketmq/issues/5506#issuecomment-1313625651

   @TO-21  done


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] drpmma closed issue #5506: Question : How do I create TOPIC of type DELAY?

Posted by GitBox <gi...@apache.org>.
drpmma closed issue #5506: Question : How do I create TOPIC of type DELAY?
URL: https://github.com/apache/rocketmq/issues/5506


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] ZhengJiaH commented on issue #5506: Question : How do I create TOPIC of type DELAY?

Posted by "ZhengJiaH (via GitHub)" <gi...@apache.org>.
ZhengJiaH commented on issue #5506:
URL: https://github.com/apache/rocketmq/issues/5506#issuecomment-1537462679

   想问一下,我现在是一个集群,多个节点,修改messageType的话,只需要在一个节点执行一下,nameserver就会同步,还是我需要在每一个都需要执行一下


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] drpmma commented on issue #5506: Question : How do I create TOPIC of type DELAY?

Posted by GitBox <gi...@apache.org>.
drpmma commented on issue #5506:
URL: https://github.com/apache/rocketmq/issues/5506#issuecomment-1313354157

   See this doc for more information.
   
   English: https://github.com/apache/rocketmq/blob/develop/docs/en/Example_CreateTopic.md
   
   中文: https://github.com/apache/rocketmq/blob/develop/docs/cn/Example_CreateTopic.md


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org