Introduction
Cloud Native 是一种应用程序开发风格,鼓励轻松采纳持续交付和价值驱动开发领域中的最佳实践。一项相关的学科是构建 12-factor Applications,其中开发实践与交付和运营目标保持一致——例如,通过声明式编程和管理和监视。Spring Cloud 以多种特定方式促进了这些开发风格。起点是一组功能,分布式系统中的所有组件都可以轻松访问这些功能。
Cloud Native is a style of application development that encourages easy adoption of best practices in the areas of continuous delivery and value-driven development. A related discipline is that of building 12-factor Applications, in which development practices are aligned with delivery and operations goals — for instance, by using declarative programming and management and monitoring. Spring Cloud facilitates these styles of development in a number of specific ways. The starting point is a set of features to which all components in a distributed system need easy access.
Spring Cloud 所构建的 Spring Boot 涵盖了其中许多功能。Spring Cloud 以两个库的形式提供了更多功能:Spring Cloud Context 和 Spring Cloud Commons。Spring Cloud Context 提供了实用工具和特殊服务,用于 ApplicationContext
的 Spring Cloud 应用程序(引导上下文、加密、刷新范围和环境端点)。Spring Cloud Commons 是一组抽象和通用类,适用于不同的 Spring Cloud 实现(如 Spring Cloud Netflix 和 Spring Cloud Consul)。
Many of those features are covered by Spring Boot, on which Spring Cloud builds. Some more features are delivered by Spring Cloud as two libraries: Spring Cloud Context and Spring Cloud Commons.
Spring Cloud Context provides utilities and special services for the ApplicationContext
of a Spring Cloud application (bootstrap context, encryption, refresh scope, and environment endpoints). Spring Cloud Commons is a set of abstractions and common classes used in different Spring Cloud implementations (such as Spring Cloud Netflix and Spring Cloud Consul).