-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Spring Boot 4.0 Configuration Changelog
Configuration property changes between 3.5.6
and 4.0.0-SNAPSHOT
Key | Replacement | Reason |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Key | Default value | Description |
---|---|---|
|
Whether to enable console-based logging. |
|
|
|
Whether to enable MongoDB health check. |
|
|
Whether to enable Mongo client command metrics. |
|
|
Whether to enable Mongo connection pool metrics. |
|
Meters that should be ignored when recoding observations. |
|
|
|
Method used to compress the payload. |
|
|
Connect timeout for the OTel collector connection. |
|
Whether auto-configuration of logging is enabled to export logs over OTLP. |
|
|
URL to the OTel collector’s HTTP API. |
|
|
Custom HTTP headers you want to pass to the collector, for example auth headers. |
|
|
|
Call timeout for the OTel Collector to process an exported batch of data. |
|
|
Transport used to send the logs. |
|
|
Whether it should be attempted to create a metric descriptor before writing a time series. |
|
|
Whether auto-configuration of tracing is enabled to export and propagate traces. |
|
|
Maximum size of the static resource cache. |
|
|
Representation to use when converting a BigDecimal. |
|
Static list of "host:port" pairs to use, at least one entry is required. |
|
|
||
|
||
|
Arguments to pass to the Docker Compose command. |
|
|
|
Whether Docker Compose support is enabled. |
|
Paths to the Docker Compose configuration files. |
|
|
Hostname or IP of the machine where the docker containers are started. |
|
|
|
Docker compose lifecycle management. |
|
Docker compose profiles that should be active. |
|
|
|
Timeout for connections. |
|
|
Timeout for reads. |
|
|
Timeout of the readiness checks. |
|
|
Wait strategy to use. |
|
|
Whether to skip in tests. |
|
Arguments to pass to the start command. |
|
|
|
Command used to start Docker Compose. |
|
|
Log level for output. |
|
|
Whether to skip executing the start command. |
|
Arguments to pass to the stop command. |
|
|
|
Command used to stop Docker Compose. |
|
|
Timeout for stopping Docker Compose. |
|
API key for authentication with Elasticsearch. |
|
|
|
Whether the sniffer is enabled. |
|
Locations of callbacks. |
|
|
PowerShell executable to use for running PowerShell scripts. |
|
|
|
Preferred JSON mapper to use. |
|
Default connect timeout for a client HTTP request. |
|
|
Default factory used for a client HTTP request. |
|
|
Default connector used for a client HTTP request. |
|
|
Default read timeout for a client HTTP request. |
|
|
Handling for HTTP redirects. |
|
|
SSL bundle to use. |
|
|
|
Preferred JSON mapper to use for HTTP encoding and decoding. |
|
|
Charset to use for String conversion. |
|
HTTP Service Client definitions |
|
|
Jackson on/off token reader features that are specific to CBOR. |
|
|
Jackson on/off token writer features that are specific to CBOR. |
|
|
Jackson on/off features for DateTimes. |
|
|
|
Whether to find and add modules to the auto-configured JsonMapper.Builder using MapperBuilder.findAndAddModules(ClassLoader). |
|
Jackson on/off token reader features that are specific to JSON. |
|
|
Jackson on/off token writer features that are specific to JSON. |
|
|
|
Whether to configure Jackson 3 with the same defaults as Spring Boot previously used for Jackson 2. |
|
|
Jitter value for the base retry attempt, randomly subtracted or added to the calculated delay, resulting in a value between 'delay - jitter' and 'delay + jitter' but never below the base delay or above the max delay. |
|
Additional server hosts. |
|
|
Authentication database name. |
|
|
Database name. |
|
|
Mongo server host. |
|
|
Login password of the mongo server. |
|
|
Mongo server port. |
|
|
|
Protocol to be used for the MongoDB connection. |
|
Required replica set name for the cluster. |
|
|
|
Representation to use when converting a UUID to a BSON binary value. |
|
SSL bundle name. |
|
|
Whether to enable SSL support. |
|
|
|
Mongo database URI. |
|
Login user of the mongo server. |
|
|
Default version that should be used for each request. |
|
|
Whether supported versions should be detected from controllers. |
|
|
Whether the API version is required with each request. |
|
|
Supported versions. |
|
|
Use the HTTP header with the given name to obtain the version. |
|
|
Use the media type parameter with the given name to obtain the version. |
|
|
Use the path segment at the given index to obtain the version. |
|
|
Use the query parameter with the given name to obtain the version. |
|
|
The URI host to use. |
|
|
The URI port to use. |
|
|
The URI scheme to use (for example http). |
|
|
|
Preferred JSON and CBOR mapper to use. |
|
|
Charset of HTTP requests and responses. |
|
|
Whether to enable Servlet HTTP encoding support. |
|
Whether to force the encoding to the configured charset on HTTP requests and responses. |
|
|
Whether to force the encoding to the configured charset on HTTP requests. |
|
|
Whether to force the encoding to the configured charset on HTTP responses. |
|
|
|
Cron expression for expired session cleanup job. |
|
|
The configure action to apply when no user-defined ConfigureRedisAction or ConfigureReactiveRedisAction bean is present. |
|
|
Sessions flush mode. |
|
|
Namespace for keys used to store sessions. |
|
|
Type of Redis session repository to configure. |
|
|
Sessions save mode. |
|
|
Whether to cancel remaining tasks on close. |
|
|
Whether auto-configuration of JSON testers is enabled. |
|
|
Whether HTMLUnit’s WebClient should be auto-configured when it’s on the classpath. |
|
|
Whether Selenium’s WebDriver should be auto-configured when it’s on the classpath. |
|
|
Whether a MockWebServiceServer should be auto-configured. |
|
|
Whether a WebServiceTemplate bean should be registered. |
|
|
Testcontainers startup modes. |
|
|
How to treat injection of DynamicPropertyRegistry into a @Bean method. |
|
Default version that should be used for each request. |
|
|
Whether supported versions should be detected from controllers. |
|
|
Whether the API version is required with each request. |
|
|
Supported versions. |
|
|
Use the HTTP header with the given name to obtain the version. |
|
|
Use the media type parameter with the given name to obtain the version. |
|
|
Use the path segment at the given index to obtain the version. |
|
|
Use the query parameter with the given name to obtain the version. |
Key | Replacement | Reason |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
||
|
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
|
|
|
||
|
||
|
||
|
|
|
|
||
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
|
|
|
|
|
|
||
|
Deprecated in Flyway 10.18 and removed in Flyway 11.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
||
|
|
|
|
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|