https://github.com/microsphere-projects/microsphere-spring-boot
Microsphere Projects for Spring Boot
https://github.com/microsphere-projects/microsphere-spring-boot
cloud-native devops java metrics microservices microsphere spring spring-boot
Last synced: 13 days ago
JSON representation
Microsphere Projects for Spring Boot
- Host: GitHub
- URL: https://github.com/microsphere-projects/microsphere-spring-boot
- Owner: microsphere-projects
- License: apache-2.0
- Created: 2023-02-06T04:59:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-04-08T12:39:05.000Z (13 days ago)
- Last Synced: 2026-04-08T13:28:28.319Z (13 days ago)
- Topics: cloud-native, devops, java, metrics, microservices, microsphere, spring, spring-boot
- Language: Java
- Homepage:
- Size: 1.11 MB
- Stars: 20
- Watchers: 1
- Forks: 23
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Microsphere Spring Boot
> Microsphere Projects for Spring Boot
[](https://deepwiki.com/microsphere-projects/microsphere-spring-boot)
[](https://zread.ai/microsphere-projects/microsphere-spring-boot)
[](https://github.com/microsphere-projects/microsphere-spring-boot/actions/workflows/maven-build.yml)
[](https://app.codecov.io/gh/microsphere-projects/microsphere-spring-boot)


Microsphere Spring Boot is a collection of libraries that extends Spring Boot's capabilities with additional features
focused on configuration management, application diagnostics, and enhanced monitoring. The project is structured as a
multi-module Maven project that follows Spring Boot's conventions while providing value-added functionality.
## Purpose and Scope
The Microsphere Spring Boot project is a collection of Spring Boot extensions that enhance observability, configuration
management, and operational capabilities for Spring Boot applications. It provides:
- Enhanced Auto-Configuration: Sophisticated auto-configuration mechanisms with filtering and property management
- Custom Actuator Endpoints: Extended Spring Boot Actuator with additional endpoints for configuration metadata and
application artifacts
- Monitoring Extensions: Enhanced task scheduling with metrics integration via Micrometer
- Configuration Management: Advanced configuration binding and property management features
- Multi-Version Support: Compatibility across Spring Boot versions 3.0 through 3.4
## Modules
| **Module** | **Purpose** |
|------------------------------------------|------------------------------------------------------------------------------------|
| **microsphere-spring-parent** | Defines the parent POM with dependency management and Spring Boot version profiles |
| **microsphere-spring-boot-dependencies** | Centralizes dependency management for all project modules |
| **microsphere-spring-boot-core** | Provides core functionality for enhanced Spring Boot applications |
| **microsphere-spring-boot-actuator** | Extends Spring Boot Actuator with additional endpoints and monitoring capabilities |
## Getting Started
The easiest way to get started is by adding the Microsphere Spring Boot BOM (Bill of Materials) to your project's
pom.xml:
```xml
...
io.github.microsphere-projects
microsphere-spring-boot-dependencies
${microsphere-spring-boot.version}
pom
import
...
```
`${microsphere-spring-boot.version}` has two branches:
| **Branches** | **Purpose** | **Latest Version** |
|--------------|--------------------------------------------------|--------------------|
| **0.2.x** | Compatible with Spring Boot 3.0.x - 3.5.x, 4.0.x | 0.2.10 |
| **0.1.x** | Compatible with Spring Boot 2.0.x - 2.7.x | 0.1.10 |
Then add the specific modules you need:
```xml
io.github.microsphere-projects
microsphere-spring-boot-core
io.github.microsphere-projects
microsphere-spring-boot-actuator
```
### Example : Using the default properties to disable the Auto-Configuration of Spring Boot
The module `microsphere-spring-boot-core` offers the default properties, which can be used to disable the
auto-configuration:
1. To add the default properties resource(located classpath `config/default/test.properties`):
```properties
### Exclude Spring Boot Built-in Auto-Configuration Class
microsphere.autoconfigure.exclude=\
org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration
```
> Alternatively, you can also use the `@EnableAutoConfiguration` annotation with `exclude` attribute or the Spring
> property `spring.autoconfigure.exclude` to exclude the auto-configuration, however, these two approaches can't merge
> the previous properties.
## Building from Source
You don't need to build from source unless you want to try out the latest code or contribute to the project.
To build the project, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/microsphere-projects/microsphere-spring-boot.git
```
2. Build the source:
- Linux/MacOS:
```bash
./mvnw package
```
- Windows:
```powershell
mvnw.cmd package
```
## Contributing
We welcome your contributions! Please read [Code of Conduct](./CODE_OF_CONDUCT.md) before submitting a pull request.
## Reporting Issues
* Before you log a bug, please search
the [issues](https://github.com/microsphere-projects/microsphere-spring-boot/issues)
to see if someone has already reported the problem.
* If the issue doesn't already
exist, [create a new issue](https://github.com/microsphere-projects/microsphere-spring-boot/issues/new).
* Please provide as much information as possible with the issue report.
## Documentation
### User Guide
[DeepWiki Host](https://deepwiki.com/microsphere-projects/microsphere-spring-boot)
[ZRead Host](https://zread.ai/microsphere-projects/microsphere-spring-boot)
### Wiki
[Github Host](https://github.com/microsphere-projects/microsphere-spring-boot/wiki)
### JavaDoc
- [microsphere-spring-boot-core](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-spring-boot-core)
- [microsphere-spring-boot-actuator](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-spring-boot-actuator)
## License
The Microsphere Spring is released under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).