Git Product home page Git Product logo

dubbozeekeeper's Introduction

spring-boot-starter-dubbo-example

spring-boot-starter-dubbo-example是spring-boot-starter-dubbo的示例项目。

example-api

示例的api项目,api项目用来定义dubbo发布出来的服务接口

example-provider

示例的服务提供者,用来定义具体的业务

example-consumer

示例的服务调用者,用来定义服务的调用

使用示例项目

克隆示例项目

git clone [email protected]:reger/spring-boot-starter-dubbo-example.git

编译项目

cd spring-boot-starter-dubbo-example
mvn package

在 example-provider/target/ 和 example-consumer 项目中有对应war包,在本地安装zookeeper服务

启动提供者

java -jar example-provider-1.0.1.jar --spring.dubbo.registry.address=127.0.0.1  --spring.dubbo.registry.port=2181 

启动调用者

java -jar example-consumer-1.0.1.jar --spring.dubbo.registry.address=127.0.0.1  --spring.dubbo.registry.port=2181 

控制台可以看到调用日志

dubbozeekeeper's People

Contributors

halober avatar qqkk112 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.