Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is SpringCloud in springboot and what is the introduction of SpringCloud version

2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

In this issue, the editor will bring you about what SpringCloud is in springboot and how the SpringCloud version is introduced. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Spring Cloud is an ordered collection of frameworks. It makes use of the development convenience of Spring Boot to skillfully simplify the development of distributed system infrastructure, such as service registration, service discovery, configuration center, message bus, load balancing, circuit breaker, data monitoring and so on. All of these can be started and deployed with one click with the development style of Spring Boot.

Generally speaking, Spring Cloud is a collection of frameworks for building micro-service development and governance (not a specific framework), and the main contribution comes from Netflix OSS.

Introduction of Spring Cloud module

The relevant introduction of Spring Cloud module is as follows:

Eureka: service registry for service management.

Ribbon: a client-based load balancing component.

Hystrix: fault-tolerant framework that prevents avalanche effects of services.

Feign:Web service client, which can simplify the invocation of HTTP interface.

Zuul:API gateway, which provides route forwarding, request filtering and other functions.

Config: distributed configuration management.

Sleuth: service tracking.

Stream: a framework for building message-driven microservice applications.

Bus: the cluster message bus of the message broker.

In addition to the above modules, there are Cli, Task and so on. Only some commonly used modules are introduced in the tutorial.

Spring Cloud is a very good framework collection, it contains a lot of functional modules, it is impossible to explain one by one, all the modules that appear in the tutorial are used in real development.

Introduction to Spring Cloud version

I believe that like the author, there must be a doubt when you visit the Spring Cloud official website for the first time, that is, there are too many versions, which one is the stable version? Which one is the version you need? Next, I will give you a brief introduction to the issue of the version.

Visit the official website https://spring.io/projects/spring-cloud to see the list of versions on the right side of the page, as shown in figure 1.

You can see from figure 1 that Spring Cloud is not in the same format as other projects, with version numbers of 1.1,1.2,1.3. Because Spring Cloud is a large-scale integrated project with many sub-projects, it can be said to be a comprehensive suite component of the micro-service architecture solution, in which each sub-project iterates and updates the content independently, and each maintains its own release number.

As for how to choose the version that suits you, the author believes that you can directly choose the latest stable version when you come into contact. The new version of Bug is definitely less and more stable.

The cases in this tutorial are all based on Finchley SR2. Different versions have different functions, and the corresponding version of each sub-module is also different, so how do you know what the specific sub-module under each large version is?

The answer is on the home page of the official website, and there is a table at the bottom of the page (see Table 1). From this table, we can clearly know that the corresponding Spring Boot version of Finchley SR2 is 2.0.6.RELEASE is 2.0.0.RELEASE.

Table 1 list of Spring Cloud versions

ComponentEdgware.SR5Finchley.SR2Finchley.BUILD-SNAPSHOTspring-cloud-aws1.2.3RELEASE2.0.1.RELEASE2.0.1.BUILD-SNAPSHOTspring-cloud-bus1.3.3.RELEASE2.0.0.RELEASE2.0.1.BUILD-SNAPSHOTspring-cloud-cli1.4.1.RELEASE2.0.0.RELEASE2.0.1.BUILD-SNAPSHOTspring-cloud-commons1.3.5.RELEASE2.0.2.RELEASE2.0.2.BUILD-SNAPSHOTspring-cloud-contract1.2.6.RELEASE2.0.2.RELEASE2. 0.2.BUILD-SNAPSHOTspring-cloud-config1.4.5.RELEASE2.0.2.RELEASE2.0.2.BUILD-SNAPSHOTspring-cloud-netflix1.4.6.RELEASE2.0.2.RELEASE2.0.2.BUILD-SNAPSHOTspring-cloud-security1.2.3.RELEASE2.0.1.RELEASE2.0.1.BUILD-SNAPSHOTspring-cloud-cloudfoundry1.1.2.RELEASE2.0.1.RELEASE2.0.1.BUILD-SNAPSHOTspring-cloud-consul1.3.5.RELEASE2.0.1.RELEASE2. 0.2.BUILD-SNAPSHOTspring-cloud-sleuth1.3.5.RELEASE2.0.2.RELEASE2.0.2.BUILD-SNAPSHOTspring-cloud-streamDitmars.SR4Elmhurst.SRIElmhurst. BUILD-SNAPSHOTspring-cloud-zookeeper1.2.2.RELEASE2.0.0.RELEASE2.0.1.BUILD-SNAPSHOTspring-boot1.5.16.RELEASE2.0.6.RELEASE2.0.7.BUILD-SNAPSHOTspring-cloud-task1.2.3.RELEASE2.0.0.RELEASE2.0.1.BUILD-SNAPSHOTspring-cloud-vault1.1.2.RELEASE2.0.2.RELEASE2.0.2.BUILD-SNAPSHOTspring-cloud-gateway1.0.2.RELEASE2.0.2.RELEASE2.0.2.BUILD-SNAPSHOT

The above is what the editor shares with you about SpringCloud in springboot and how the SpringCloud version is introduced. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report