当前位置:   article > 正文

RocketMQ报错总结_org.apache.rocketmq.client.exception.mqclientexcep

org.apache.rocketmq.client.exception.mqclientexception: the specified group

目录

The specified topic[xxx] contains illegal characters, allowing only ^[%|a-zA-Z0-9_-]+$

The consumer group[yms-group] has been created before, specify another name please.


The specified topic[xxx] contains illegal characters, allowing only ^[%|a-zA-Z0-9_-]+$

  1. org.apache.rocketmq.client.exception.MQClientException: The specified topic[话题] contains illegal characters, allowing only ^[%|a-zA-Z0-9_-]+$
  2. For more information, please visit the url, http://rocketmq.apache.org/docs/faq/

报错原因是Topic命名不规范,存在非法字符,在RocketMQ中Topic的命名规则应遵循以下正则表达式:^[%|a-zA-Z0-9_-]+$

The consumer group[yms-group] has been created before, specify another name please.

  1. Caused by: java.lang.IllegalStateException: Failed to start RocketMQ push consumer
  2. at org.apache.rocketmq.spring.support.DefaultRocketMQListenerContainer.start(DefaultRocketMQListenerContainer.java:281)
  3. at org.apache.rocketmq.spring.autoconfigure.ListenerContainerConfiguration.registerContainer(ListenerContainerConfiguration.java:120)
  4. ... 15 more
  5. Caused by: org.apache.rocketmq.client.exception.MQClientException: The consumer group[yms-group] has been created before, specify another name please.

消费者组命名重复,在同一个项目中不可存在两个名字一样的消费者组

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/256971
推荐阅读
相关标签
  

闽ICP备14008679号