代码拉取完成,页面将自动刷新
一致性(Consistency)、可用性(Availability)、分区容错性(Partition tolerance)
分布式系统必须支持分区容错(P),能且只能同时满足其中两个原则,要么AP原则,要么CP原则
Eureka是AP原则,保证高可用
Consul/Zookeeper是CP原则,保证高准确
Nacos默认AP原则,可选配置为CP原则
服务注册与发现 Eureka/Consul/Zookeeper/Nacos
均衡负载 Ribbon/LoadBalancer
服务调用 Fegin/Open Fegin
服务降级、熔断、限流 Hystrix/Sentinel
服务网关 Zuul/Gateway
服务的配置中心 Config/Nacos
消息总线 Bus/Nacos
消息队列 Stream
全链路追踪 Sleuth
分布式事务 Seata
依据 https://spring.io/projects/spring-cloud 页 Release train Spring Boot compatibility
提供版本参考
通过 https://spring.io/projects/spring-cloud#learn 跳转GA版**Reference Doc.**查看最佳推荐
约定 > 配置 > 编码
字符编码
File > Settings > Editor > File Encodings > UTF-8
File > Settings > Build,Execution,Deployment > Compiler > Annotation Processors > Enable annotation processing
File > Settings > Build,Execution,Deployment > Compiler > Java Compiler > Per-module bytecode version > 8
File > Settings > Editor > File Types > Ignored Files and Folders > *.idea;*.iml
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.20</version>
<optional>true</optional>
</dependency>
File > Settings > Plugins
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<fork>true</fork>
<addResources>true</addResources>
</configuration>
</plugin>
</plugins>
</build>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
File > Settings > Build,Execution,Deployment > Compiler
✓ Automatically show first error in editor
✓ Display notification on build completion
✓ Build prject automatically
✓ Compile independent modules in parallel
Ctrl + Alt + Shift + / > Registry
✓ actionSystem.assertFocusAccessFromEdt
✓ compiler.automake.allow.when.app.running
<!-- /.idea/workspace.xml -->
<component name="RunDashboard">
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType"/>
</set>
</option>
</component>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。