Giter Site home page Giter Site logo

Comments (6)

chickenlj avatar chickenlj commented on June 2, 2024

...
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<dubbo.version>3.2.11</dubbo.version>
<spring-boot.version>2.6.4</spring-boot.version>
...

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.

from dubbo.

chickenlj avatar chickenlj commented on June 2, 2024

Why the url in registry is grpc://10.63.9.0:8082/proto.helloworld.Greeter? Do you set dubbo.protocol.name=tri?

from dubbo.

glynnwei avatar glynnwei commented on June 2, 2024

...
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<dubbo.version>3.2.11</dubbo.version>
< spring-boot.version>2.6.4</spring-boot.version>
...

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

from dubbo.

glynnwei avatar glynnwei commented on June 2, 2024

Why the url in registry is grpc://10.63.9.0:8082/proto.helloworld.Greeter? Do you set dubbo.protocol.name=tri?
application.yml

  protocol:
    name: grpc
    port: 8082
  registry:
    address: etcd3://127.0.0.1:2379

from dubbo.

chickenlj avatar chickenlj commented on June 2, 2024

More likely to be an issue of skywalking integrating with etcd.

from dubbo.

glynnwei avatar glynnwei commented on June 2, 2024

More likely to be an issue of skywalking integrating with etcd.

Yes, I think so too.

I hope someone can follow up and fix it.

from dubbo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.