gpt4 book ai didi

spring-boot - Spring Boot AutoConfigure 与 Spring Boot 执行器

转载 作者:行者123 更新时间:2023-12-03 18:19:36 34 4
gpt4 key购买 nike

我指的是 Spring Boot 关于 的文档自动配置 执行器 模块:

自动配置:

Spring Boot AutoConfiguration attempts to automatically configure your Spring application based on the dependencies that it declares. For example, If HSQLDB is on your classpath, and you have not manually configured any database connection beans, then we will auto-configure an in-memory database.



执行器:

The aim of this project is minimum fuss for getting applications up and running in production, and in other environments. There is a strong emphasis on implementing RESTful web services but many features are more generic than that.



从这个官方文档,很难确定 这两个模块有什么区别...

谁能提供 解释差异的官方和规范答案?

最佳答案

你在主要的README 中看到了吗? :

Spring Boot Actuator provides additional auto-configuration to decorate your application with features that make it instantly deployable and supportable in production. For instance if you are writing a JSON web service then it will provide a server, security, logging, externalized configuration, management endpoints, an audit abstraction, and more. If you want to switch off the built in features, or extend or replace them, it makes that really easy as well.



Actuator 是 Spring Boot Autoconfigure 的插件或扩展,具有更多功能,这些功能大多是非功能性的,并且专注于生产准备。

关于spring-boot - Spring Boot AutoConfigure 与 Spring Boot 执行器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22200428/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com