Closed glynnwei closed 5 months ago
...
1.8 1.8 3.2.11 2.6.4 ...org.apache.dubbo.extensions dubbo-registry-etcd3 3.2.0 org.apache.dubbo.extensions dubbo-metadata-report-etcd 3.2.0 org.apache.dubbo dubbo-spring-boot-observability-starter 3.2.11 ... org.apache.dubbo dubbo-metrics-api 3.2.11
Please try to add dubbo-spring-boot-starter
dependency and necessary registry starter dependency. dubbo-metrics-api
is not necessary once dubbo-spring-boot-starter
is added.
Why the url in registry is grpc://10.63.9.0:8082/proto.helloworld.Greeter
? Do you set dubbo.protocol.name=tri
?
...
1.8 1.8 3.2.11 < spring-boot.version>2.6.4 ... org.apache.dubbo.extensions dubbo-registry-etcd3 3.2.0 org.apache.dubbo.extensions dubbo-metadata-report-etcd 3.2 .0 org.apache.dubbo dubbo-spring-boot-observability-starter 3.2.11 org.apache.dubbo dubbo-metrics-api 3.2.11 ...请尝试添加
dubbo-spring-boot-starter
依赖项和必要的注册表启动器依赖项。一旦添加dubbo-metrics-api
就不需要了。dubbo-spring-boot-starter
<dependency> <groupId>org.apache.dubbo</groupId> <artifactId>dubbo-spring-boot-starter</artifactId> <version>3.2.11</version> </dependency> <dependency> <groupId>org.apache.dubbo</groupId> <artifactId>dubbo-spring-boot-observability-starter</artifactId> <version>3.2.11</version> </dependency> <dependency> <groupId>org.apache.dubbo.extensions</groupId> <artifactId>dubbo-registry-etcd3</artifactId> <version>3.2.0</version> </dependency> <dependency> <groupId>org.apache.dubbo.extensions</groupId> <artifactId>dubbo-metadata-report-etcd</artifactId> <version>3.2.0</version> </dependency>
Thanks. It's still the same problem after modification
Why the url in registry is
grpc://10.63.9.0:8082/proto.helloworld.Greeter
? Do you setdubbo.protocol.name=tri
? application.ymlprotocol: name: grpc port: 8082 registry: address: etcd3://127.0.0.1:2379
More likely to be an issue of skywalking integrating with etcd.
I solved the problem by removing conflicting plugins:
skywalking-agent/plugins/apm-grpc-1.x-plugin-x.x.x.jar
Pre-check
Search before asking
Apache Dubbo Component
Java SPI Extensions (apache/dubbo-spi-extensions)
Dubbo Version
dubbo: 3.2.11 jdk: 1.8 skywalking agent: 9.2.0
Steps to reproduce this issue
1、maven import
2、start javaagent
3、error message
What you expected to happen
Other registries (nacos, zookeeper) can be started successfully, and skywalking data can be collected
Anything else
The
/skywalk-agent-9.2.0/plugins
directory is loaded properlyAre you willing to submit a pull request to fix on your own?
Code of Conduct