springBoot整合Dubbo

老版本 spring-boot-starter 1.5.10.RELEASE

<!-- https://mvnrepository.com/artifact/com.alibaba.spring.boot/dubbo-spring-boot-starter -->
<dependency>
    <groupId>com.alibaba.spring.boot</groupId>
    <artifactId>dubbo-spring-boot-starter</artifactId>
    <version>2.0.0</version>
</dependency>

新版本 spring-boot-starter 2.1.1.RELEASE

<!-- https://mvnrepository.com/artifact/com.alibaba.boot/dubbo-spring-boot-starter -->
<dependency>
    <groupId>com.alibaba.boot</groupId>
    <artifactId>dubbo-spring-boot-starter</artifactId>
    <version>0.2.1.RELEASE</version>
</dependency>
@see com.alibaba.boot.dubbo.autoconfigure.DubboAutoConfiguration
@see com.alibaba.dubbo.config.spring.context.annotation.EnableDubboConfig

如果单独使用dubbo希望版本在2.7.0以上

<!-- https://mvnrepository.com/artifact/org.apache.dubbo/dubbo -->
<dependency>
    <groupId>org.apache.dubbo</groupId>
    <artifactId>dubbo</artifactId>
    <version>2.7.*</version>
</dependency>

https://www.cnblogs.com/zjfjava/p/9696086.html
Dubbo报错问题 qos-server端口问题:
https://blog.csdn.net/u012988901/article/details/84503672
整合方式:
https://www.cnblogs.com/fanqisoft/p/10360262.html
直连测试:
https://blog.csdn.net/Ting_GY/article/details/84575220
http://dubbo.apache.org/zh-cn/docs/user/demos/explicit-target.html

posted @ 2019-12-10 20:36  guardWei  阅读(504)  评论(0编辑  收藏  举报