1.springbootcloudç»ä»¶
springbootcloudç»ä»¶
.SpringBootåSpringCloudçå ³ç³»
å¾å¤äººæ°æ对äºSpringBootåSpringCloudçå ³ç³»è¯´ä¸æ¸ æ¥ãç解ä¸æ¸ æ¥ï¼æ¬ææ½åºç¹æ¶é´æ¥è¿è¡å享ä¸èªå·±çç解ï¼ä»¥å¸®å©å¤§å®¶æ´å¥½çç解两è ä¹é´çå ³ç³»ã
å ¶è®¾è®¡ç®çä¹åæ¯ç¨æ¥ç®åSpringåºç¨çåå§æ建以åå¼åè¿ç¨ãå¾å¤ä¸è¥¿é½æ¯é 置好çï¼çº¦å®å¤§äºé ç½®ï¼ä½¿ç¨æ³¨è§£æ¿ä»£äºå¾å¤xmlèè¿çé ç½®ï¼æ大çç®åäºé¡¹ç®é ç½®çæ¶èï¼æä¾äºé«æçç¼ç¨èææ¶ã
Cloudç¸å½äºå©ç¨äºSpringBootçå¼å便å©æ§å·§å¦å°ç®åäºåå¸å¼ç³»ç»åºç¡è®¾æ½çå¼åï¼åæ¯æå¡æ³¨ååç°ãé ç½®ä¸å¿ãæ¶æ¯æ»çº¿ãè´è½½åè¡¡ãæè·¯å¨ãæ°æ®çæ§çï¼é½å¯ä»¥ç¨SpringBootçå¼åé£æ ¼åå°ä¸é®å¯å¨åé¨ç½²ï¼SpringCloud并没æéå¤çé è½®åï¼æåå®¶å ¬å¸æçï¼ç»å¾èµ·èéªçæå¡æ¡æ¶ç»åèµ·æ¥ï¼éè¿SpringBootå±è½è°å¤æçé ç½®åå®ç°åçï¼çç»å¼åè ä¸å¥ç®åææã容æé¨ç½²ã容æç»´æ¤çåå¸å¼å¼åå·¥å ·å ã
å ¶ä¸çå ³ç³»æ¯ï¼
Spring-ãSpingBoot-ãSpringCloud
Cloudçæ ¸å¿ç»ä»¶ï¼
æè§è¿ä¸ªè¯é¢è½å好å¤çä¸è¥¿ï¼åæ¯SpingCloudåDubbboçå¾®æå¡éåççåè¿è¡å¯¹æ¯ãæ¯è¾ä¼ç¼ºç¹ï¼æ¬ç¯å°±ç®åçè¿è¡äºæ»ç»åä»ç»ï¼å¸æè½å¸®å©å°æå°æçæåå§ï¼åé¢ææ¶é´å¨åä¸äºæç« è¿è¡æå±åè¡¥å ã
SpringCloudå¾®æå¡ä½ç³»çç»æNetflixEurekaæ¯SpringCloudæå¡æ³¨ååç°çåºç¡ç»ä»¶
Eurekaæä¾RESTfulé£æ ¼(HTTPåè®®)çæå¡æ³¨åä¸åç°
Eurekaéç¨C/Sæ¶æ,看透看过突袭的源码SpringCloudå 置客æ·ç«¯
å¯ç¨åºç¨,访é®
Eureka客æ·ç«¯å¼åè¦ç¹
mavenä¾èµspring-cloud-starter-netflix-eureka-clientapplication.yml
é ç½®eureka.client.service-url.defaultZone
å ¥å£ç±»å¢å @EnableEurekaClient
å å¯å¨æ³¨åä¸å¿,å¨å¯å¨å®¢æ·ç«¯,访é®localhost:æ¥çeureka注åä¸å¿,çå°å®¢æ·ç«¯æ³¨å
Eurekaåè¯æ¦å¿µ
Register-æå¡æ³¨å,åEurekaè¿è¡æ³¨åç»è®°
Renew-æå¡ç»çº¦,ç§/次å¿è·³å å¥åº·æ£æ¥.ç§æªæ¶å°åé¤æå¡
FetchRegistries-è·åæå¡æ³¨åå表,è·åå ¶ä»å¾®æå¡å°å
Cancel-æå¡ä¸çº¿,æ个微æå¡éç¥æ³¨åä¸å¿æåæå¡
Eviction-æå¡åé¤,ç§æªç»çº¦,ä»æå¡æ³¨å表è¿è¡åé¤
Eurekaèªæä¿æ¤æºå¶
Eurekaå¨è¿è¡æå»ç»è®¡å¿è·³å¤±è´¥çå¨åéä¹å æ¯å¦ä½äº%
å¦æä½äº%ï¼ä¼å°è¿äºå®ä¾ä¿æ¤èµ·æ¥ï¼è®©è¿äºå®ä¾ä¸ä¼è¢«åé¤
å ³éèªæä¿æ¤:eureka.æå¡å®ä¾.
enable-self-preservation:false
PS:å¦éç½ç»ç¹å«ä¸ç¨³å®,å»ºè®®å ³é
Eurekaé«å¯ç¨é ç½®æ¥éª¤
æå¡æä¾è defaultZoneæåå ¶ä»çEureka
客æ·ç«¯æ·»å ææEurekaæå¡å®ä¾URL
Actuatorèªå¨ä¸ºå¾®æå¡å建ä¸ç³»åçç¨äºçæ§ç端ç¹
Actuatorå¨SpringBootèªå¸¦ï¼SpringCloudè¿è¡æ©å±
pom.xmlä¾èµspring-boot-starter-actuator
RestTemplate+@LoadBalancedæ¾å¼è°ç¨
OpenFeignéèå¾®æå¡é´éä¿¡ç»è
Ribbonæ¯RestTemplateä¸OpenFeignçéä¿¡åºç¡
Feignæ¯ä¸ä¸ªå¼æºå£°æå¼WebService客æ·ç«¯ï¼ç¨äºç®åæå¡éä¿¡
Feignéç¨âæ¥å£+注解âæ¹å¼å¼åï¼å±è½äºç½ç»éä¿¡çç»è
OpenFeignæ¯SpringCloud对Feignçå¢å¼ºï¼æ¯æSpringMVC注解
1.æ°å»ºSpringbootWeb项ç®ï¼applicationname为product-service
å¨pom.xmlä¸å¼å ¥ä¾èµ
spring-cloud-starter-alibaba-nacos-discoveryä½ç¨ä¸ºåNacosserver注åæå¡ã
spring-cloud-starter-openfeignä½ç¨ä¸ºå®ç°æå¡è°ç¨ã
2.ä¿®æ¹application.ymlé ç½®æ件
3.å¨å¯å¨ç±»ä¸æ·»å @EnableDiscoveryClientã@EnableFeignClients注解
4.ç¼åOrderClientInterface
注ï¼/api/v1/order/testä¼å¨ä¸é¢order-service声æã
OrderClient.java
5.ç¼åControlleråservice
ProductController.java
ProductService.java
1.OpenFeignå¼å¯éä¿¡æ¥å¿
åºäºSpringBootçlogbackè¾åº,é»è®¤debug级å«
设置项ï¼feign.client.config.å¾®æå¡id.loggerLevel
å¾®æå¡idï¼defaultä»£è¡¨å ¨å±é»è®¤é ç½®
2.éä¿¡æ¥å¿è¾åºæ ¼å¼
NONE:ä¸è¾åºä»»ä½éä¿¡æ¥å¿
BASIC:åªå å«URLã请æ±æ¹æ³ãç¶æç ãæ§è¡æ¶é´
HEADERSï¼å¨BASICåºç¡ä¸ï¼é¢å¤å å«è¯·æ±ä¸ååºå¤´
FULLï¼å å«è¯·æ±ä¸ååºå 容æå®æ´çä¿¡æ¯
3.OpenFeignæ¥å¿é 置项
LoggerLevelå¼å¯éä¿¡æ¥å¿
ConnectionTimeoutä¸ReadTimeout
å©ç¨flix-hystrix-dashboard
çæ§å¾®æå¡å©ç¨@EnableHystrixDashboardå¼å¯ä»ªè¡¨ç
9.Hystrixçæ设置
产ççæçæ¡ä»¶:
å½ä¸ä¸ªRollingWindow(æ»å¨çªå£ï¼çæ¶é´å ï¼é»è®¤ï¼ç§ï¼ï¼æè¿æ¬¡è°ç¨è¯·æ±ï¼è¯·æ±é误çè¶ è¿%ï¼å触åçæ5ç§ï¼æé´å¿«é失败ã
TIPS:å¦ç§å æªç´¯è®¡å°æ¬¡ï¼åä¸ä¼è§¦åçæ
Hystrixçæ设置项:
ç»ä¸è®¿é®åºå ¥å£,å¾®æå¡å¯¹åå°éæ
å®å ¨ãè¿æ»¤ãæµæ§çAPI管çåè½
æäºçæ§ãæ¹ä¾¿ç®¡ç
NetflixZuul
SpringCloudGateway
Zuulæ¯Netflixå¼æºçä¸ä¸ªAPIç½å ³,æ ¸å¿å®ç°æ¯Servlet
SpringCloudå ç½®Zuul1.x
Zuul1.xæ ¸å¿å®ç°æ¯Servletï¼éç¨åæ¥æ¹å¼éä¿¡
Zuul2.xåºäºNettyServerï¼æä¾å¼æ¥éä¿¡
认è¯åå®å ¨
æ§è½çæµ
å¨æè·¯ç±
è´è½½å¸è½½
éæèµæºå¤ç
ååæµè¯
SpringCloudGatewayï¼æ¯Springâ亲å¿åâ
SpringCloudGatewayæ¨å¨ä¸ºå¾®æå¡æ¶ææä¾ä¸ç§ç®åèææçç»ä¸çAPIè·¯ç±ç®¡çæ¹å¼
GatewayåºäºSpring5.0ä¸SpringWebFluxå¼åï¼éç¨Reactorååºå¼è®¾è®¡
1.使ç¨ä¸é¨æ²
ä¾èµspring-cloud-starter-netflix-zuul
å ¥å£å¢å @EnableZuulProxy
application.ymlå¢å å¾®æå¡æ å°
2.å¾®æå¡æ å°
SpringCloudZuulå ç½®Hystrix
æå¡é级å®ç°æ¥å£ï¼FallbackProvider
1.å¾®æå¡ç½å ³æµéæ§å¶
å¾®æå¡ç½å ³æ¯åºç¨å ¥å£ï¼å¿ é¡»å¯¹å ¥å£æµéè¿è¡æ§å¶
RateLimitæ¯SpringCloudZuulçéæµç»ä»¶
RateLimitéç¨â令ç桶âç®æ³å®ç°éæµ
2.ä»ä¹æ¯ä»¤ç桶
1.Zuulçæ§è¡è¿ç¨
2.Http请æ±çå½å¨æ
1.éè¦å®ç°ZuulFilteræ¥å£
shouldFilter()-æ¯å¦å¯ç¨è¯¥è¿æ»¤å¨
filterOrder()-设置è¿æ»¤å¨æ§è¡æ¬¡åº
filterType()-è¿æ»¤å¨ç±»å:pre|routing|post
run()-è¿æ»¤é»è¾
2.Zuulå ç½®è¿æ»¤å¨
3.Zuul+JWTè·¨å身份éªè¯
1.SpringCloudConfig
2.æºç¨Apollo
3.é¿éå·´å·´Nacos
1.ä¾èµ"spring-cloud-starter-config"
2.å é¤application.yml,æ°å»ºbootstrap.yml
3.é ç½®"é ç½®ä¸å¿"æå¡å°åä¸ç¯å¢ä¿¡æ¯
1ãå¾®æå¡ä¾èµ"spring-boot-starter-actuator";
2ãå¨æå·æ°ç±»ä¸å¢å @RefreshScope注解
3ãéè¿/actuator/refreshå·æ°é ç½®
1ãéè¿å å ¥éè¯æºå¶ãæé«åºç¨å¯å¨çå¯é æ§;
2ãéè¯è§¦åæ¡ä»¶1:é ç½®ä¸å¿æ æ³ä¸ä»åºæ£å¸¸éä¿¡
3ãéè¯è§¦åæ¡ä»¶2:å¾®æå¡æ æ³é ç½®ä¸å¿æ£å¸¸éä¿¡
SpringCloudæ´ä½ææ¶è®¾è®¡ï¼ä¸ï¼
SpringCloundæ´ä½æ ¸å¿æ¶æåªæä¸ç¹ï¼Restæå¡ï¼ä¹å°±æ¯è¯´å¨æ´ä¸ªSpringCloudé ç½®è¿ç¨ä¹ä¸ï¼ææçé ç½®å¤çé½æ¯å´ç»çRestå®æçï¼å¨è¿ä¸ªRestå¤çä¹ä¸ï¼ä¸å®è¦æ两个端ï¼æå¡çæä¾è ï¼Providerï¼ãæå¡çæ¶è´¹è ï¼Consumerï¼ï¼æ以对äºæ´ä¸ªSpringCloudåºç¡çç»æå°±å¦ä¸æ示ï¼
æ¢ç¶SpringCloudçæ ¸å¿æ¯Restfulç»æï¼é£ä¹å¦æè¦æ³æ´å¥½çå»ä½¿ç¨Restè¿äºå¾®æå¡è¿éè¦èèå¦ä¸å 个é®é¢ã
1ãææçå¾®æå¡å°åä¸å®ä¼é常çå¤ï¼æ以为äºç»ä¸ç®¡çè¿äºå°åä¿¡æ¯ï¼ä¹ä¸ºäºå¯ä»¥åæ¶çåè¯ç¨æ·åªäºæå¡ä¸å¯ç¨ï¼æ以åºè¯¥åå¤ä¸ä¸ªåå¸å¼ç注åä¸å¿ï¼å¹¶ä¸è¯¥æ³¨åä¸å¿åºè¯¥æ¯ææHAæºå¶ï¼ä¸ºäºé«é并ä¸æ¹ä¾¿è¿è¡æææå¡ç注åæä½ï¼å¨SpringCloudéé¢æä¾æä¸ä¸ªEurekaç注åä¸å¿ã
对äºæ´ä¸ªçWEB端çææ¶ï¼SpringBootå®ç°ï¼å¯ä»¥è½»æ¾æ¹ä¾¿çè¿è¡WEBç¨åºçç¼åï¼èåå©ç¨NginxæApacheå®ç°è´è½½åè¡¡å¤çï¼ä½æ¯ä½ WEB端åºç°äºè´è½½åè¡¡ï¼é£ä¹ä¸å¡ç«¯å¢ï¼åºè¯¥ä¹æä¾æå¤ä¸ªä¸å¡ç«¯è¿è¡è´è½½åè¡¡ãé£ä¹è¿ä¸ªæ¶åå°±éè¦å°ææéè¦åä¸å°è´è½½åè¡¡çä¸å¡ç«¯å¨Eurekaä¹ä¸è¿è¡æ³¨åã
å¨è¿è¡å®¢æ·ç«¯ä½¿ç¨Restæ¶æè°ç¨çæ¶åï¼å¾å¾é½éè¦ä¸ä¸ªè°ç¨å°åï¼å³ä½¿ç°å¨ä½¿ç¨äºEurekaä½ä¸ºæ³¨åä¸å¿ï¼é£ä¹å®ä¹éè¦æä¸ä¸ªæç¡®çè°ç¨å°åï¼å¯æ¯ææçæä½å¦æé½å©ç¨è°ç¨å°åçæ¹å¼æ¥å¤çï¼ç¨åºçå¼åè ææ¹ä¾¿åºç¨çå·¥å ·æ¯æ¥å£ï¼æ以ç°å¨å°±å¸æå¯ä»¥å°ææçRestæå¡çå 容以æ¥å£çæ¹å¼åºç°è°ç¨ï¼æ以å®åæä¾äºä¸ä¸ªFeignææ¯ï¼å©ç¨æ¤ææ¯å¯ä»¥ä¼ªé æ¥å£å®ç°ã
å¨è¿è¡æ´ä½çå¾®æ¶æ设计çæ¶åç±äºçµæ¯çé®é¢è¿æ¯å±äºRPCï¼æä»¥å¿ é¡»èèçæå¤çæºå¶ï¼å®é ä¸ææççæ就好æ¯çæ´»ä¹ä¸ä½¿ç¨ä¿é©ä¸ä¸æ ·ï¼æäºä¿é©ä¸å¨ä¸äºè®¾å¤åºç°äºæ éä¹åä¾ç¶å¯ä»¥ä¿æ¤å®¶åºççµå¨å¯ä»¥æ£å¸¸ä½¿ç¨ï¼å¦æ说ç°å¨æè¥å¹²çå¾®æå¡ï¼å¹¶ä¸è¿äºå¾®æå¡ä¹é´å¯ä»¥ç¸äºè°ç¨ï¼ä¾å¦Aå¾®æå¡è°ç¨äºBå¾®æå¡ï¼Bå¾®æå¡è°ç¨äºCå¾®æå¡ã
å¦æå¨å®é ç项ç®è®¾è®¡è¿ç¨ä¹ä¸æ²¡æå¤ç好çææºå¶ï¼é£ä¹å°±ä¼äº§çéªå´©æåºï¼æ以为äºé²æ¢è¿æ ·çé®é¢åºç°ï¼SpringCloudéé¢æä¾æä¸ä¸ªHystrixçæå¤çæºå¶ï¼ä»¥ä¿è¯æä¸ä¸ªå¾®æå¡å³ä½¿åºç°äºé®é¢ä¹åä¾ç¶å¯ä»¥æ£å¸¸ä½¿ç¨ã
éè¿Zuulç代çç¨æ·åªéè¦ç¥éæå®çè·¯ç±çè·¯å¾å°±å¯ä»¥è®¿é®æå®çå¾®æå¡çä¿¡æ¯ï¼è¿æ ·æ´å¥½çæç°äºjavaä¸çâkey=valueâç设计ææ³ï¼èä¸ææçå¾®æå¡éè¿zuulè¿è¡ä»£çä¹åä¹æ´å åççè¿è¡å称éèã
å¨SpringBootå¦ä¹ çæ¶åä¸ç´å¼ºè°è¿ä¸ä¸ªé®é¢ï¼å¨SpringBootéé¢å¼ºè°çæ¯ä¸ä¸ªâé¶é ç½®âçæ¦å¿µï¼æ¬è´¨å¨äºä¸éè¦é 置任ä½çé ç½®æ件ï¼ä½æ¯äºå®ä¸è¿ä¸ç¹å¹¶æ²¡æå®å ¨çå®ç°ï¼å 为å¨æ´ä¸ªå¨æ´ä½çå®é éé¢ï¼ä¾ç¶ä¼æä¾æapplication.ymlé ç½®æ件ï¼é£ä¹å¦æå¨å¾®æå¡çå建ä¹ä¸ï¼é£ä¹ä¸å®ä¼ææç¾ä¸å个微æå¡çä¿¡æ¯åºç°ï¼äºæ¯è¿äºé ç½®æ件ç管çå°±æ为äºé®é¢ãä¾å¦ï¼ç°å¨ä½ çªç¶æä¸å¤©ä½ ç主æºè¦è¿è¡æºæ¿çåæ´ï¼ææçæå¡çIPå°åé½å¯è½åçæ¹åï¼è¿æ ·å¯¹äºç¨åºçç»´æ¤æ¯é常ä¸æ¹ä¾¿çï¼ä¸ºäºè§£å³è¿æ ·çé®é¢ï¼å¨SpringCloud设计çæ¶åæä¾æä¸ä¸ªSpringCloudConfigçç¨åºç»ä»¶ï¼å©ç¨è¿ä¸ªç»ä»¶å°±å¯ä»¥ç´æ¥åºäºGITæè SVNæ¥è¿è¡é ç½®æ件ç管çã
å¨æ´ä½è®¾è®¡ä¸SpringCloudæ´å¥½çå®ç°äºRPCçæ¶æ设计ï¼èä¸ä½¿ç¨Restä½ä¸ºé讯çåºç¡ï¼è¿ä¸ç¹æ¯ä»çæåä¹å¤ï¼ç±äºå¤§éç使ç¨äºnetflixå ¬å¸ç产åææ¯ï¼æ以è¿äºææ¯ä¹æå¯é çä¿è¯ã
Springå ¨å®¶æ¡¶ç¬è®°ï¼Spring+SpringBoot+SpringCloud+SpringMVCæè¿ææ´çäºä¸ä¸ä¸çº¿æ¶æå¸çSpringå ¨å®¶æ¡¶ç¬è®°ï¼Spring+SpringBoot+SpringCloud+SpringMVCï¼å享ç»å¤§å®¶ä¸èµ·å¦ä¹ ä¸ä¸~ææ«å è´¹è·åå¦
Springæ¯ä¸ä¸ªè½»é级æ§å¶å转(IoC)åé¢ååé¢(AOP)ç容å¨æ¡æ¶ãSpringæ¡æ¶æ¯ç±äºè½¯ä»¶å¼åçå¤ææ§èå建çãSpring使ç¨çæ¯åºæ¬çJavaBeanæ¥å®æ以ååªå¯è½ç±EJBå®æçäºæ ãç¶èï¼Springçç¨éä¸ä» ä» éäºæå¡å¨ç«¯çå¼åãä»ç®åæ§ãå¯æµè¯æ§åæ¾è¦åæ§è§åº¦èè¨ï¼ç»å¤§é¨åJavaåºç¨é½å¯ä»¥ä»Springä¸åçã
1.1Springé¢è¯å¿ å¤é¢+解æ
1.2Springå¦ä¹ ç¬è®°
ï¼1ï¼Springæºç æ·±å ¥è§£æ
ï¼2ï¼Springå®æ
1.3Springå¦ä¹ æç»´èå¾
SpringBootæ¯ç±Pivotalå¢éæä¾çå ¨æ°æ¡æ¶ï¼å ¶è®¾è®¡ç®çæ¯ç¨æ¥ç®åæ°Springåºç¨çåå§æ建以åå¼åè¿ç¨ã该æ¡æ¶ä½¿ç¨äºç¹å®çæ¹å¼æ¥è¿è¡é ç½®ï¼ä»è使å¼å人åä¸åéè¦å®ä¹æ ·æ¿åçé ç½®ãéè¿è¿ç§æ¹å¼ï¼SpringBootè´åäºå¨è¬ååå±çå¿«éåºç¨å¼åé¢å(rapidapplicationdevelopment)æ为é¢å¯¼è ã
2.1SpringBooté¢è¯å¿ å¤é¢+解æ
2.2SpringBootå¦ä¹ ç¬è®°
ï¼1ï¼SpringBootå®è·µ
ï¼2ï¼SpringBootæç§å¿«éæ建微æå¡ä½ç³»
2.3SpringBootå¦ä¹ æç»´èå¾
springcloudæ¯å¾®æå¡æ¶æçé大æè ï¼å°ä¸ç³»åä¼ç§çç»ä»¶è¿è¡äºæ´åãåºäºspringbootæ建ï¼å¯¹æ们çæspringçç¨åºåæ¥è¯´ï¼ä¸ææ¯è¾å®¹æãéè¿ä¸äºç®åç注解ï¼æ们就å¯ä»¥å¿«éçå¨åºç¨ä¸é ç½®ä¸ä¸å¸¸ç¨æ¨¡å并æ建åºå¤§çåå¸å¼ç³»ç»ã
3.1SpringCloudé¢è¯å¿ å¤é¢+解æ
3.2SpringCloudå¦ä¹ ç¬è®°
ï¼1ï¼SpringCloudåèæå
SpringMVCæ¯ä¸ç§åºäºJavaçå®ç°MVC设计模å¼ç请æ±é©±å¨ç±»åçè½»é级Webæ¡æ¶ï¼ä½¿ç¨äºMVCæ¶æ模å¼çææ³ï¼å°webå±è¿è¡è责解è¦ï¼åºäºè¯·æ±é©±å¨æçå°±æ¯ä½¿ç¨è¯·æ±-ååºæ¨¡åï¼æ¡æ¶çç®çå°±æ¯å¸®å©æ们ç®åå¼å
4.1SpringMVCé¢è¯å¿ å¤é¢+解æ
4.2SpringMVCå¦ä¹ ç¬è®°
ï¼1ï¼çéSpringMVCæºä»£ç åæä¸å®è·µ
ï¼2ï¼ç²¾éSpringMVC
æåå享ä¸ä¸ä¸ä»½JAVAæ ¸å¿ç¥è¯ç¹æ´çï¼PDFï¼
SpringBootåSpringCloudçåºå«1ãspringcloudæ¯åºäºspringbootçä¸ç§æ¡æ¶ï¼å æ¬eurekaãribbonãfeignãzuulãhystrixç
2ãSpringBootå¯ä»¥ç¦»å¼SpringCloudç¬ç«ä½¿ç¨å¼å项ç®,ä½æ¯SpringCloud离ä¸å¼SpringBoot
3ãSpringbootæ¯Springçä¸å¥å¿«éé ç½®èææ¶ï¼å¯ä»¥åºäºspringbootå¿«éå¼åå个微æå¡ï¼SpringCloudæ¯ä¸ä¸ªåºäºSpringBootå®ç°çäºåºç¨å¼åå·¥å ·ï¼
4ãSpringbootä¸æ³¨äºå¿«éãæ¹ä¾¿éæçå个个ä½ï¼SpringCloudæ¯å ³æ³¨å ¨å±çæå¡æ²»çæ¡æ¶ï¼
5ãspringboot使ç¨äºé»è®¤å¤§äºé ç½®çç念ï¼å¾å¤éææ¹æ¡å·²ç»å¸®ä½ éæ©å¥½äºï¼è½ä¸é 置就ä¸é ç½®ï¼SpringCloudå¾å¤§çä¸é¨åæ¯åºäºSpringbootæ¥å®ç°ã
6ãSpringbootå¯ä»¥ç¦»å¼SpringCloudç¬ç«ä½¿ç¨å¼å项ç®ï¼ä½æ¯SpringCloud离ä¸å¼Springbootï¼å±äºä¾èµçå ³ç³»ã
Spring-SpringBootSpringCloudè¿æ ·çå ³ç³»
2024-11-29 20:47
2024-11-29 20:25
2024-11-29 20:24
2024-11-29 20:14
2024-11-29 19:41
2024-11-29 19:03