Skip to content

从零开始搭建微服务架构环境,spring-boot版本3.2.6,spring-cloud版本2021.0.3

Notifications You must be signed in to change notification settings

xiaoxpai/springcloud-tom

Repository files navigation

微服务环境搭建

版本

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>3.2.6</version>
    <relativePath/> <!-- lookup parent from repository -->
</parent>

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-dependencies</artifactId>
    <version>2021.0.3</version>
    <type>pom</type>
    <scope>import</scope>
</dependency>

详细,可查看文件 .springboot-springcloud.version


服务启动

  • eureka-client
    • springcloud-job-service
    • springcloud-user-service
  • eureka-registry
    • springcloud-tom-eureka

microservices-dashbord.png

关于分支

  • master
    • 项目主分支 后续迭代新特性
  • registry
    • 注册中心 分支,该分支用户演示微服务构架:服务发现与服务注册之间的相互通信
  • dubbo-zookeeper-registry
    • 改分支演示zookeeper作为注册中心,dubbo服务注册与发现(dubbo-3.x)
    • dubbo-admin-service-discovery.png

关于服务注册与发现

Service registration and discovery.png

Getting Started

Reference Documentation

For further reference, please consider the following sections:

Maven Parent overrides

Due to Maven's design, elements are inherited from the parent POM to the project POM. While most of the inheritance is fine, it also inherits unwanted elements like <license> and <developers> from the parent. To prevent this, the project POM contains empty overrides for these elements. If you manually switch to a different parent and actually want the inheritance, you need to remove those overrides.

About

从零开始搭建微服务架构环境,spring-boot版本3.2.6,spring-cloud版本2021.0.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages