spring boot的jar包梳理
groupId: org.springframework.boot
jar包名称 | 相关数量 |
---|---|
spring-boot-dependencies | Spring Boot Dependencies |
spring-boot-autoconfigure | Spring Boot AutoConfigure |
spring-boot-starter-parent | Parent pom providing dependency and plugin management for applications built with Maven |
spring-boot-starter-web | Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container |
spring-boot-starter-webflux | Starter for building WebFlux applications using Spring Framework’s Reactive Web support |
spring-boot-starter-tomcat | Starter for using Tomcat as the embedded servlet container. Default servlet container starter used by spring-boot-starter-web |
spring-boot-starter-jetty | Starter for using Jetty as the embedded servlet container. An alternative to spring-boot-starter-tomcat |
spring-boot-starter-undertow | Starter for using Undertow as the embedded servlet container. An alternative to spring-boot-starter-tomcat |
spring-boot-starter-reactor-netty | Starter for using Reactor Netty as the embedded reactive HTTP server. |
spring-boot-starter-actuator | Starter for using Spring Boot’s Actuator which provides production ready features to help you monitor and manage your application |
spring-boot-actuator-autoconfigure | Spring Boot Actuator AutoConfigure |
spring cloud的jar包梳理
groupId: org.springframework.cloud
jar包名称 | 相关数量 |
---|---|
spring-cloud-starter-eureka-server | 用于建立Spring Cloud Eureka服务,实现服务发现功能 |
spring-cloud-starter-netflix-zuul | 微服务网关,服务路由 |
通用属性整理
属性 | 描述 |
---|---|
server | jar包:org.springframework.boot:spring-boot-autoconfigure 类名:org.springframework.boot.autoconfigure.web.ServerProperties web服务器配置 |
server.port | Server HTTP port |
spring.profiles.active | active profiles |
spring.main.webApplicationType | NONE, SERVLET, REACTIVE |
zookeeper属性整理
属性 | 描述 |
---|---|
spring.cloud.zookeeper | jar包:org.springframework.cloud:spring-cloud-zookeeper-core 类名:org.springframework.cloud.zookeeper.ZookeeperProperties zookeeper连接配置 |
spring.cloud.zookeeper.enabled | zookeeper开关,默认true |
spring.cloud.zookeeper.connectString | 逗号分隔的host:port对集合,port可以省略 |
spring.cloud.zookeeper.baseSleepTimeMs | Initial amount of time to wait between retries. 默认50 |
spring.cloud.zookeeper.maxRetries | Max number of times to retry. 默认10 |
spring.cloud.zookeeper.maxSleepMs | Max time in ms to sleep on each retry. 默认500 |
spring.cloud.zookeeper.blockUntilConnectedWait | Wait time to block on connection to Zookeeper. 默认10 |
spring.cloud.zookeeper.blockUntilConnectedUnit | The unit of time related to blocking on connection to Zookeeper. 默认TimeUnit.SECONDS |
gson属性整理
属性 | 描述 |
---|---|
spring.gson | jar包:org.springframework.boot:spring-boot-autoconfigure 类名:org.springframework.boot.autoconfigure.gson.GsonProperties |
spring.gson.generateNonExecutableJson | Whether to generate non executable JSON by prefixing the output with some special text. |
spring.gson.excludeFieldsWithoutExposeAnnotation | Whether to exclude all fields from consideration for serialization or deserialization that do not have the “Expose” annotation. |
spring.gson.serializeNulls | Whether to serialize null fields. |
… | … |
codec属性
属性 | 描述 |
---|---|
spring.codec | jar包:org.springframework.boot:spring-boot-autoconfigure 类名:org.springframework.boot.autoconfigure.codec.CodecProperties |
spring.codec.logRequestDetails | Whether to log form data at DEBUG level, and headers at TRACE level. |
spring.codec.maxInMemorySize.bytes | Limit on the number of bytes that can be buffered whenever the input stream needs to be aggregated. |