RocketMQ 待解决 No route info of this topic 异常

MQClientException: No route info of this topic, advance 

Github项目地址:https://github.com/open-micro-services/springcloud/tree/master/sc-mqs/mq-rocketmq

目录

RocketMQ启动原因

Firewall防火墙原因

网络或系统原因

Springboot项目具体日志


RocketMQ启动原因

启动没有异常检查下nameserver中是否成功注册了broker,有两种方式 
第一种、看broker的日志 
2018-02-28 16:21:35 INFO BrokerControllerScheduledThread1 - register broker to name server 127.0.0.1:9876 OK
2018-02-28 16:22:05 INFO BrokerControllerScheduledThread1 - register broker to name server 127.0.0.1:9876 OK
证明已经连接到nameserver上
第二种、 在bin目录下执行命令mqadmin.cmd clusterList -n 127.0.0.1:9876 
#Cluster Name     #Broker Name            #BID  #Addr                  #Version                #InTPS(LOAD)       #OutTPS(LOAD) #PCWait(ms) #Hour #SPACE
DefaultCluster    DEFAULT_BROKER          0     172.26.247.129:10911  V4_2_0_SNAPSHOT          0.00(0,0ms)         0.00(0,0ms)          0 422168.55 -1.0000
也是证明已经连接到nameserver上。

Firewall防火墙原因

如果按前两步检查没有问题,但启动还是报错,那么剩下的可能原因是producer无法连接到nameserver,很可能是防火墙的原因 ,要检验猜测只需要关闭防火墙,然后再次验证,应该已经可以使用了。

RocketMQ 待解决 No route info of this topic 异常_第1张图片

RocketMQ 待解决 No route info of this topic 异常_第2张图片

网络或系统原因

RocketMQ 待解决 No route info of this topic 异常_第3张图片

可以安装一个虚拟机进行测试,也可以在Linux部署一个Rocket MQ服务进行测试。

注:RocketMQ Topic 大小写也可能是影响不能路由的原因。

Springboot项目具体日志

"C:\Program Files\Java\jdk1.8.0_121\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=56517 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:D:\IntelliJ IDEA 2018.3.3\lib\idea_rt.jar=56518:D:\IntelliJ IDEA 2018.3.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_121\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\rt.jar;D:\springcloud\sc-mqs\mq-rocketmq\target\classes;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter-web\2.1.9.RELEASE\spring-boot-starter-web-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter\2.1.9.RELEASE\spring-boot-starter-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot\2.1.9.RELEASE\spring-boot-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-autoconfigure\2.1.9.RELEASE\spring-boot-autoconfigure-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter-logging\2.1.9.RELEASE\spring-boot-starter-logging-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\logging\log4j\log4j-to-slf4j\2.11.2\log4j-to-slf4j-2.11.2.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\logging\log4j\log4j-api\2.11.2\log4j-api-2.11.2.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\slf4j\jul-to-slf4j\1.7.28\jul-to-slf4j-1.7.28.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter-json\2.1.9.RELEASE\spring-boot-starter-json-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\fasterxml\jackson\core\jackson-databind\2.9.9.3\jackson-databind-2.9.9.3.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\fasterxml\jackson\core\jackson-core\2.9.9\jackson-core-2.9.9.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.9\jackson-datatype-jdk8-2.9.9.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.9\jackson-datatype-jsr310-2.9.9.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.9\jackson-module-parameter-names-2.9.9.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter-tomcat\2.1.9.RELEASE\spring-boot-starter-tomcat-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.26\tomcat-embed-core-9.0.26.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.26\tomcat-embed-el-9.0.26.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.26\tomcat-embed-websocket-9.0.26.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\hibernate\validator\hibernate-validator\6.0.17.Final\hibernate-validator-6.0.17.Final.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\jboss\logging\jboss-logging\3.3.3.Final\jboss-logging-3.3.3.Final.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\fasterxml\classmate\1.4.0\classmate-1.4.0.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-web\5.1.10.RELEASE\spring-web-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-beans\5.1.10.RELEASE\spring-beans-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-webmvc\5.1.10.RELEASE\spring-webmvc-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-aop\5.1.10.RELEASE\spring-aop-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-context\5.1.10.RELEASE\spring-context-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-expression\5.1.10.RELEASE\spring-expression-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter-data-jdbc\2.1.9.RELEASE\spring-boot-starter-data-jdbc-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\data\spring-data-jdbc\1.0.11.RELEASE\spring-data-jdbc-1.0.11.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\data\spring-data-commons\2.1.11.RELEASE\spring-data-commons-2.1.11.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-tx\5.1.10.RELEASE\spring-tx-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.1.9.RELEASE\spring-boot-starter-data-jpa-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter-aop\2.1.9.RELEASE\spring-boot-starter-aop-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\aspectj\aspectjweaver\1.9.4\aspectjweaver-1.9.4.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\javax\transaction\javax.transaction-api\1.3\javax.transaction-api-1.3.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\hibernate\hibernate-core\5.3.12.Final\hibernate-core-5.3.12.Final.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\javax\persistence\javax.persistence-api\2.2\javax.persistence-api-2.2.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\javassist\javassist\3.23.2-GA\javassist-3.23.2-GA.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\net\bytebuddy\byte-buddy\1.9.16\byte-buddy-1.9.16.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\jboss\jandex\2.0.5.Final\jandex-2.0.5.Final.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\dom4j\dom4j\2.1.1\dom4j-2.1.1.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\hibernate\common\hibernate-commons-annotations\5.0.4.Final\hibernate-commons-annotations-5.0.4.Final.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\glassfish\jaxb\jaxb-runtime\2.3.1\jaxb-runtime-2.3.1.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\glassfish\jaxb\txw2\2.3.1\txw2-2.3.1.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\sun\istack\istack-commons-runtime\3.0.7\istack-commons-runtime-3.0.7.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\jvnet\staxex\stax-ex\1.8\stax-ex-1.8.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\sun\xml\fastinfoset\FastInfoset\1.2.15\FastInfoset-1.2.15.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\data\spring-data-jpa\2.1.11.RELEASE\spring-data-jpa-2.1.11.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-orm\5.1.10.RELEASE\spring-orm-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-aspects\5.1.10.RELEASE\spring-aspects-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter-data-redis\2.1.9.RELEASE\spring-boot-starter-data-redis-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\data\spring-data-redis\2.1.11.RELEASE\spring-data-redis-2.1.11.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\data\spring-data-keyvalue\2.1.11.RELEASE\spring-data-keyvalue-2.1.11.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-oxm\5.1.10.RELEASE\spring-oxm-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter-jdbc\2.1.9.RELEASE\spring-boot-starter-jdbc-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\zaxxer\HikariCP\3.2.0\HikariCP-3.2.0.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-jdbc\5.1.10.RELEASE\spring-jdbc-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\boot\spring-boot-starter-freemarker\2.1.9.RELEASE\spring-boot-starter-freemarker-2.1.9.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\freemarker\freemarker\2.3.29\freemarker-2.3.29.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-context-support\5.1.10.RELEASE\spring-context-support-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\mysql\mysql-connector-java\8.0.17\mysql-connector-java-8.0.17.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-core\5.1.10.RELEASE\spring-core-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\springframework\spring-jcl\5.1.10.RELEASE\spring-jcl-5.1.10.RELEASE.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\rocketmq\rocketmq-client\4.3.0\rocketmq-client-4.3.0.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\rocketmq\rocketmq-common\4.3.0\rocketmq-common-4.3.0.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\rocketmq\rocketmq-remoting\4.3.0\rocketmq-remoting-4.3.0.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\com\alibaba\fastjson\1.2.29\fastjson-1.2.29.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\io\netty\netty-all\4.1.39.Final\netty-all-4.1.39.Final.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\rocketmq\rocketmq-logging\4.3.0\rocketmq-logging-4.3.0.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\io\netty\netty-tcnative-boringssl-static\2.0.26.Final\netty-tcnative-boringssl-static-2.0.26.Final.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\commons\commons-lang3\3.8.1\commons-lang3-3.8.1.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\slf4j\slf4j-api\1.7.26\slf4j-api-1.7.26.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\redis\clients\jedis\2.9.0\jedis-2.9.0.jar;D:\DEVELOPERS\MAVEN\apache-maven-3.0.3\repository\org\apache\commons\commons-pool2\2.6.2\commons-pool2-2.6.2.jar" com.boonya.springcloud.messages.rocketmq.MqRocketmqApplication

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.1.9.RELEASE)

2019-10-12 23:42:12.054  INFO 16932 --- [           main] c.b.s.m.rocketmq.MqRocketmqApplication   : Starting MqRocketmqApplication on NRKHDVS7OOHZUNH with PID 16932 (D:\springcloud\sc-mqs\mq-rocketmq\target\classes started by Administrator in D:\springcloud)
2019-10-12 23:42:12.107  INFO 16932 --- [           main] c.b.s.m.rocketmq.MqRocketmqApplication   : No active profile set, falling back to default profiles: default
2019-10-12 23:42:15.573  INFO 16932 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2019-10-12 23:42:15.573  INFO 16932 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2019-10-12 23:42:15.604  INFO 16932 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19ms. Found 0 repository interfaces.
2019-10-12 23:42:15.652  INFO 16932 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2019-10-12 23:42:15.652  INFO 16932 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2019-10-12 23:42:15.677  INFO 16932 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 5ms. Found 0 repository interfaces.
2019-10-12 23:42:15.701  INFO 16932 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2019-10-12 23:42:15.702  INFO 16932 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2019-10-12 23:42:15.719  INFO 16932 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 4ms. Found 0 repository interfaces.
2019-10-12 23:42:16.614  INFO 16932 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$5d1ec701] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-10-12 23:42:17.312  INFO 16932 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8090 (http)
2019-10-12 23:42:17.385  INFO 16932 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2019-10-12 23:42:17.385  INFO 16932 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.26]
2019-10-12 23:42:17.634  INFO 16932 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2019-10-12 23:42:17.634  INFO 16932 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 5192 ms
2019-10-12 23:42:18.360  INFO 16932 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2019-10-12 23:42:19.126  INFO 16932 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2019-10-12 23:42:19.392  INFO 16932 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [
	name: default
	...]
2019-10-12 23:42:19.641  INFO 16932 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {5.3.12.Final}
2019-10-12 23:42:19.643  INFO 16932 --- [           main] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2019-10-12 23:42:20.202  INFO 16932 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.4.Final}
2019-10-12 23:42:20.670  INFO 16932 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2019-10-12 23:42:21.158  INFO 16932 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
Consumer Listener
2019-10-12 23:42:35.644  INFO 16932 --- [           main] c.b.s.m.r.advance.consumer.Consumer      : consumer is start !!! groupName:AdvanceGroup,topic:advance,namesrvAddr:127.0.0.1:9876
2019-10-12 23:42:42.117  INFO 16932 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2019-10-12 23:42:42.167  WARN 16932 --- [           main] aWebConfiguration$JpaWebMvcConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2019-10-12 23:42:43.252  WARN 16932 --- [           main] o.s.b.a.f.FreeMarkerAutoConfiguration    : Cannot find template location(s): [classpath:/templates] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false)
2019-10-12 23:42:43.464  INFO 16932 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8090 (http) with context path ''
2019-10-12 23:42:43.477  INFO 16932 --- [           main] c.b.s.m.rocketmq.MqRocketmqApplication   : Started MqRocketmqApplication in 33.793 seconds (JVM running for 40.029)
2019-10-12 23:42:47.666  INFO 16932 --- [nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-10-12 23:42:47.666  INFO 16932 --- [nio-8090-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2019-10-12 23:42:47.677  INFO 16932 --- [nio-8090-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 11 ms
2019-10-12 23:42:54.336 ERROR 16932 --- [nio-8090-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.rocketmq.client.exception.MQClientException: No route info of this topic, advance
See http://rocketmq.apache.org/docs/faq/ for further details.] with root cause

org.apache.rocketmq.client.exception.MQClientException: No route info of this topic, advance
See http://rocketmq.apache.org/docs/faq/ for further details.
	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.sendDefaultImpl(DefaultMQProducerImpl.java:610) ~[rocketmq-client-4.3.0.jar:4.3.0]
	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1223) ~[rocketmq-client-4.3.0.jar:4.3.0]
	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1173) ~[rocketmq-client-4.3.0.jar:4.3.0]
	at org.apache.rocketmq.client.producer.DefaultMQProducer.send(DefaultMQProducer.java:214) ~[rocketmq-client-4.3.0.jar:4.3.0]
	at com.boonya.springcloud.messages.rocketmq.advance.controller.RocketMQController.sendTopic(RocketMQController.java:48) ~[classes/:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121]
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring-web-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) ~[spring-webmvc-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:893) ~[spring-webmvc-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:798) ~[spring-webmvc-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) ~[spring-webmvc-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) ~[spring-webmvc-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) ~[spring-web-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.1.10.RELEASE.jar:5.1.10.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) ~[tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:526) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1589) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_121]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_121]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.26.jar:9.0.26]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]

 

你可能感兴趣的:(RocketMQ)