willzhang opened a new issue, #177: URL: https://github.com/apache/rocketmq-exporter/issues/177
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here. ``` root@dashboard01:/data/rocketmq-exporter/logs/exporterlogs# cat rocketmq-exporter.log [2024-12-21 14:15:44.641] INFO Starting RocketMQExporterApplication v0.0.2 using Java 11.0.25 on dashboard01 with PID 117805 (/opt/rocketmq-exporter-0.0.2/target/rocketmq-exporter-0.0.2-exec.jar started by root in /) [2024-12-21 14:15:44.650] INFO No active profile set, falling back to 1 default profile: "default" [2024-12-21 14:15:46.024] INFO Tomcat initialized with port(s): 5557 (http) [2024-12-21 14:15:46.034] INFO Initializing ProtocolHandler ["http-nio-5557"] [2024-12-21 14:15:46.035] INFO Starting service [Tomcat] [2024-12-21 14:15:46.039] INFO Starting Servlet engine: [Apache Tomcat/9.0.74] [2024-12-21 14:15:46.127] INFO Initializing Spring embedded WebApplicationContext [2024-12-21 14:15:46.128] INFO Root WebApplicationContext: initialization completed in 1367 ms [2024-12-21 14:15:46.228] INFO setNameSrvAddrByProperty nameSrvAddr=192.168.72.250:8080 [2024-12-21 14:15:46.230] INFO setRocketmqVersion rocketmqVersion=494 [2024-12-21 14:15:46.231] INFO setWebTelemetryPath webTelemetryPath=/metrics [2024-12-21 14:15:46.529] INFO MetricsCollectTask init starting.... [2024-12-21 14:15:46.781] WARN Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricsCollectTask': Invocation of init method failed; nested exception is org.apache.rocketmq.client.exception.MQBrokerException: CODE: 3 DESC: request type 106 not supported For more information, please visit the url, http://rocketmq.apache.org/docs/faq/ [2024-12-21 14:15:46.886] INFO closeChannel: close the connection to remote address[192.168.72.250:8080] result: true [2024-12-21 14:15:47.199] INFO Stopping service [Tomcat] [2024-12-21 14:15:47.219] INFO Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. [2024-12-21 14:15:47.239] ERROR Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricsCollectTask': Invocation of init method failed; nested exception is org.apache.rocketmq.client.exception.MQBrokerException: CODE: 3 DESC: request type 106 not supported For more information, please visit the url, http://rocketmq.apache.org/docs/faq/ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) at org.apache.rocketmq.exporter.RocketMQExporterApplication.main(RocketMQExporterApplication.java:32) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) Caused by: org.apache.rocketmq.client.exception.MQBrokerException: CODE: 3 DESC: request type 106 not supported For more information, please visit the url, http://rocketmq.apache.org/docs/faq/ at org.apache.rocketmq.client.impl.MQClientAPIImpl.getBrokerClusterInfo(MQClientAPIImpl.java:1372) at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.examineBrokerClusterInfo(DefaultMQAdminExtImpl.java:333) at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.examineBrokerClusterInfo(DefaultMQAdminExt.java:264) at org.apache.rocketmq.exporter.service.client.MQAdminExtImpl.examineBrokerClusterInfo(MQAdminExtImpl.java:239) at org.apache.rocketmq.exporter.task.MetricsCollectTask.init(MetricsCollectTask.java:124) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ... 26 common frames omitted [2024-12-21 14:15:47.292] INFO closeChannel: close the connection to remote address[] result: true [2024-12-21 14:15:56.789] INFO Starting RocketMQExporterApplication v0.0.2 using Java 11.0.25 on dashboard01 with PID 117876 (/opt/rocketmq-exporter-0.0.2/target/rocketmq-exporter-0.0.2-exec.jar started by root in /) [2024-12-21 14:15:56.793] INFO No active profile set, falling back to 1 default profile: "default" [2024-12-21 14:15:58.098] INFO Tomcat initialized with port(s): 5557 (http) [2024-12-21 14:15:58.107] INFO Initializing ProtocolHandler ["http-nio-5557"] [2024-12-21 14:15:58.108] INFO Starting service [Tomcat] [2024-12-21 14:15:58.113] INFO Starting Servlet engine: [Apache Tomcat/9.0.74] [2024-12-21 14:15:58.208] INFO Initializing Spring embedded WebApplicationContext [2024-12-21 14:15:58.209] INFO Root WebApplicationContext: initialization completed in 1355 ms [2024-12-21 14:15:58.304] INFO setNameSrvAddrByProperty nameSrvAddr=192.168.72.250:8080 [2024-12-21 14:15:58.306] INFO setRocketmqVersion rocketmqVersion=494 [2024-12-21 14:15:58.308] INFO setWebTelemetryPath webTelemetryPath=/metrics [2024-12-21 14:15:58.669] INFO MetricsCollectTask init starting.... [2024-12-21 14:15:58.904] WARN Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricsCollectTask': Invocation of init method failed; nested exception is org.apache.rocketmq.client.exception.MQBrokerException: CODE: 3 DESC: request type 106 not supported For more information, please visit the url, http://rocketmq.apache.org/docs/faq/ [2024-12-21 14:15:59.008] INFO closeChannel: close the connection to remote address[192.168.72.250:8080] result: true [2024-12-21 14:15:59.025] INFO closeChannel: close the connection to remote address[192.168.72.250:8080] result: true [2024-12-21 14:15:59.222] INFO Stopping service [Tomcat] [2024-12-21 14:15:59.248] INFO Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. [2024-12-21 14:15:59.269] ERROR Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricsCollectTask': Invocation of init method failed; nested exception is org.apache.rocketmq.client.exception.MQBrokerException: CODE: 3 DESC: request type 106 not supported For more information, please visit the url, http://rocketmq.apache.org/docs/faq/ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) at org.apache.rocketmq.exporter.RocketMQExporterApplication.main(RocketMQExporterApplication.java:32) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) Caused by: org.apache.rocketmq.client.exception.MQBrokerException: CODE: 3 DESC: request type 106 not supported For more information, please visit the url, http://rocketmq.apache.org/docs/faq/ at org.apache.rocketmq.client.impl.MQClientAPIImpl.getBrokerClusterInfo(MQClientAPIImpl.java:1372) at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.examineBrokerClusterInfo(DefaultMQAdminExtImpl.java:333) at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.examineBrokerClusterInfo(DefaultMQAdminExt.java:264) at org.apache.rocketmq.exporter.service.client.MQAdminExtImpl.examineBrokerClusterInfo(MQAdminExtImpl.java:239) at org.apache.rocketmq.exporter.task.MetricsCollectTask.init(MetricsCollectTask.java:124) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ... 26 common frames omitted [2024-12-21 14:15:59.323] INFO closeChannel: close the connection to remote address[] result: true root@dashboard01:/data/rocketmq-exporter/logs/exporterlogs# ``` -- 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-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org