Official account: Java Xiaokaxiu, website: Javaxks.com

Link: gitee.com/sofastack/s…

In addition to enhancing Spring Boot, SOFABoot provides the ability to easily use SOFA middleware in Spring Boot.

SOFABoot provides the following capabilities to address Spring Boot’s implementation of large-scale microservices architectures:

Enhanced Spring Boot health check capabilities

In response to Spring Boot’s lack of Readiness Check capabilities, SOFABoot adds to Spring Boot’s existing health Check capabilities to provide Readiness Check capabilities.

Leveraging Readiness Check capabilities, components in SOFA middleware introduce traffic to application instances only after Readiness Check passes, such as RPC, which registers with the service registry. Traffic from upstream applications will come in later.

Provides the ability to isolate classes

In order to solve the problem of class dependency conflicts in Spring Boot, SOFABoot provides the ability to isolate classes on Spring Boot based on SOFAArk. In a SOFABoot system, by introducing sofaark-related dependencies, We can isolate the classloaders of SOFA middleware related classes and application related classes to prevent class conflicts. Of course, users can also isolate other middleware, third-party dependencies, and application classes based on SOFAArk.

Log space isolation capability

SOFABoot provides SOFA middleware with the capability of log space isolation in order to unify the log space printing of middleware in large-scale microservice scenarios. SOFA middleware automatically isolates its own logs from the application’s ordinary logs after each component adopts the log space isolation capability. In addition, the path of printed logs is relatively fixed, which facilitates unified monitoring.

SOFA middleware integration management

Based on the automatic configuration capability of Spring Boot, SOFABoot provides a unified and easy-to-use SOFA middleware programming interface and a Spring Boot Starter to facilitate the use of SOFA middleware in the Spring Boot environment. Each component of SOFA middleware is independently pluggable, saving development time and maintenance costs.

Modular development

Since version 2.4.0, SOFABoot supports modular development capabilities based on Spring context isolation. Each SOFABoot module uses an independent Spring context to avoid BeanId conflicts between different SOFABoot modules. Effectively reduce communication costs between teams in enterprise-level multi-module development.

The project address

Open source: gitee.com/sofastack/s…