Skip to content

Spring Boot 3.0.0 M5 Configuration Changelog

Andy Wilkinson edited this page Sep 23, 2022 · 1 revision
Clone this wiki locally

Configuration properties change between 3.0.0-M4 and 3.0.0-M5

Deprecated in 3.0.0-SNAPSHOT

Key

Replacement

Reason

spring.liquibase.labels

spring.liquibase.label-filter

spring.mvc.ignore-default-model-on-redirect

Deprecated for removal in Spring MVC

New in 3.0.0-M5

Key

Default value

Description

management.endpoint.configprops.roles

Roles used to determine whether a user is authorized to be shown unsanitized values.

management.endpoint.configprops.show-values

When to show unsanitized values.

management.endpoint.env.roles

Roles used to determine whether a user is authorized to be shown unsanitized values.

management.endpoint.env.show-values

When to show unsanitized values.

management.endpoint.quartz.roles

Roles used to determine whether a user is authorized to be shown unsanitized job or trigger values.

management.endpoint.quartz.show-values

When to show unsanitized job or trigger values.

management.metrics.graphql.autotime.enabled

true

Whether to enable auto-timing.

management.metrics.graphql.autotime.percentiles

Percentiles for which additional time series should be published.

management.metrics.graphql.autotime.percentiles-histogram

false

Whether to publish percentile histrograms.

server.reactive.session.cookie.domain

Domain for the cookie.

server.reactive.session.cookie.http-only

Whether to use "HttpOnly" cookies for the cookie.

server.reactive.session.cookie.max-age

Maximum age of the cookie.

server.reactive.session.cookie.name

Name for the cookie.

server.reactive.session.cookie.path

Path of the cookie.

server.reactive.session.cookie.same-site

SameSite setting for the cookie.

server.reactive.session.cookie.secure

Whether to always mark the cookie as secure.

spring.cassandra.compression

none

Compression supported by the Cassandra binary protocol.

spring.cassandra.config

Location of the configuration file to use.

spring.cassandra.connection.connect-timeout

5s

Timeout to use when establishing driver connections.

spring.cassandra.connection.init-query-timeout

5s

Timeout to use for internal queries that run as part of the initialization process, just after a connection is opened.

spring.cassandra.contact-points

127.0.0.1:9042

Cluster node addresses in the form 'host:port', or a simple 'host' to use the configured port.

spring.cassandra.controlconnection.timeout

5s

Timeout to use for control queries.

spring.cassandra.keyspace-name

Keyspace name to use.

spring.cassandra.local-datacenter

Datacenter that is considered "local".

spring.cassandra.password

Login password of the server.

spring.cassandra.pool.heartbeat-interval

30s

Heartbeat interval after which a message is sent on an idle connection to make sure it’s still alive.

spring.cassandra.pool.idle-timeout

5s

Idle timeout before an idle connection is removed.

spring.cassandra.port

9042

Port to use if a contact point does not specify one.

spring.cassandra.request.consistency

Queries consistency level.

spring.cassandra.request.page-size

5000

How many rows will be retrieved simultaneously in a single network round-trip.

spring.cassandra.request.serial-consistency

Queries serial consistency level.

spring.cassandra.request.throttler.drain-interval

How often the throttler attempts to dequeue requests.

spring.cassandra.request.throttler.max-concurrent-requests

Maximum number of requests that are allowed to execute in parallel.

spring.cassandra.request.throttler.max-queue-size

Maximum number of requests that can be enqueued when the throttling threshold is exceeded.

spring.cassandra.request.throttler.max-requests-per-second

Maximum allowed request rate.

spring.cassandra.request.throttler.type

none

Request throttling type.

spring.cassandra.request.timeout

2s

How long the driver waits for a request to complete.

spring.cassandra.schema-action

none

Schema action to take at startup.

spring.cassandra.session-name

Name of the Cassandra session.

spring.cassandra.ssl

false

Enable SSL support.

spring.cassandra.username

Login user of the server.

spring.data.mongodb.additional-hosts

Additional server hosts.

spring.data.redis.client-name

Client name to be set on connections with CLIENT SETNAME.

spring.data.redis.client-type

Type of client to use.

spring.data.redis.cluster.max-redirects

Maximum number of redirects to follow when executing commands across the cluster.

spring.data.redis.cluster.nodes

Comma-separated list of "host:port" pairs to bootstrap from.

spring.data.redis.connect-timeout

Connection timeout.

spring.data.redis.database

0

Database index used by the connection factory.

spring.data.redis.host

localhost

Redis server host.

spring.data.redis.jedis.pool.enabled

Whether to enable the pool.

spring.data.redis.jedis.pool.max-active

8

Maximum number of connections that can be allocated by the pool at a given time.

spring.data.redis.jedis.pool.max-idle

8

Maximum number of "idle" connections in the pool.

spring.data.redis.jedis.pool.max-wait

-1ms

Maximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted.

spring.data.redis.jedis.pool.min-idle

0

Target for the minimum number of idle connections to maintain in the pool.

spring.data.redis.jedis.pool.time-between-eviction-runs

Time between runs of the idle object evictor thread.

spring.data.redis.lettuce.cluster.refresh.adaptive

false

Whether adaptive topology refreshing using all available refresh triggers should be used.

spring.data.redis.lettuce.cluster.refresh.dynamic-refresh-sources

true

Whether to discover and query all cluster nodes for obtaining the cluster topology.

spring.data.redis.lettuce.cluster.refresh.period

Cluster topology refresh period.

spring.data.redis.lettuce.pool.enabled

Whether to enable the pool.

spring.data.redis.lettuce.pool.max-active

8

Maximum number of connections that can be allocated by the pool at a given time.

spring.data.redis.lettuce.pool.max-idle

8

Maximum number of "idle" connections in the pool.

spring.data.redis.lettuce.pool.max-wait

-1ms

Maximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted.

spring.data.redis.lettuce.pool.min-idle

0

Target for the minimum number of idle connections to maintain in the pool.

spring.data.redis.lettuce.pool.time-between-eviction-runs

Time between runs of the idle object evictor thread.

spring.data.redis.lettuce.shutdown-timeout

100ms

Shutdown timeout.

spring.data.redis.password

Login password of the redis server.

spring.data.redis.port

6379

Redis server port.

spring.data.redis.sentinel.master

Name of the Redis server.

spring.data.redis.sentinel.nodes

Comma-separated list of "host:port" pairs.

spring.data.redis.sentinel.password

Password for authenticating with sentinel(s).

spring.data.redis.sentinel.username

Login username for authenticating with sentinel(s).

spring.data.redis.ssl

false

Whether to enable SSL support.

spring.data.redis.timeout

Read timeout.

spring.data.redis.url

Connection URL.

spring.data.redis.username

Login username of the redis server.

spring.elasticsearch.socket-keep-alive

false

Whether to enable socket keep alive between client and Elasticsearch.

spring.graphql.cors.allow-credentials

Whether credentials are supported.

spring.graphql.cors.allowed-headers

Comma-separated list of HTTP headers to allow in a request. '*' allows all headers.

spring.graphql.cors.allowed-methods

Comma-separated list of HTTP methods to allow. '*' allows all methods.

spring.graphql.cors.allowed-origin-patterns

Comma-separated list of origin patterns to allow.

spring.graphql.cors.allowed-origins

Comma-separated list of origins to allow with '*' allowing all origins.

spring.graphql.cors.exposed-headers

Comma-separated list of headers to include in a response.

spring.graphql.cors.max-age

1800s

How long the response from a pre-flight request can be cached by clients.

spring.graphql.graphiql.enabled

false

Whether the default GraphiQL UI is enabled.

spring.graphql.graphiql.path

/graphiql

Path to the GraphiQL UI endpoint.

spring.graphql.path

/graphql

Path at which to expose a GraphQL request HTTP endpoint.

spring.graphql.rsocket.mapping

Mapping of the RSocket message handler.

spring.graphql.schema.file-extensions

.graphqls,.gqls

File extensions for GraphQL schema files.

spring.graphql.schema.introspection.enabled

true

Whether field introspection should be enabled at the schema level.

spring.graphql.schema.locations

classpath:graphql/**/

Locations of GraphQL schema files.

spring.graphql.schema.printer.enabled

false

Whether the endpoint that prints the schema is enabled.

spring.graphql.websocket.connection-init-timeout

60s

Time within which the initial {@code CONNECTION_INIT} type message must be received.

spring.graphql.websocket.path

Path of the GraphQL WebSocket subscription endpoint.

spring.jersey.application-path

Path that serves as the base URI for the application.

spring.jersey.filter.order

0

Jersey filter chain order.

spring.jersey.init

Init parameters to pass to Jersey through the servlet or filter.

spring.jersey.servlet.load-on-startup

-1

Load on startup priority of the Jersey servlet.

spring.jersey.type

servlet

Jersey integration type.

spring.liquibase.label-filter

Comma-separated list of runtime labels to use.

spring.mvc.webjars-path-pattern

/webjars/**

Path pattern used for WebJar assets.

spring.session.redis.repository-type

default

Type of Redis session repository to configure.

spring.webflux.webjars-path-pattern

/webjars/**

Path pattern used for WebJar assets.

Removed in 3.0.0-M5

Key

Replacement

Reason

management.endpoint.configprops.additional-keys-to-sanitize

management.endpoint.configprops.keys-to-sanitize

management.endpoint.env.additional-keys-to-sanitize

management.endpoint.env.keys-to-sanitize

management.ganglia.metrics.export.rate-units

management.health.status.order

spring.data.cassandra.compression

spring.cassandra.compression

spring.data.cassandra.config

spring.cassandra.config

spring.data.cassandra.connection.connect-timeout

spring.cassandra.connection.connect-timeout

spring.data.cassandra.connection.init-query-timeout

spring.cassandra.connection.init-query-timeout

spring.data.cassandra.contact-points

spring.cassandra.contact-points

spring.data.cassandra.controlconnection.timeout

spring.cassandra.controlconnection.timeout

spring.data.cassandra.keyspace-name

spring.cassandra.keyspace-name

spring.data.cassandra.local-datacenter

spring.cassandra.local-datacenter

spring.data.cassandra.password

spring.cassandra.password

spring.data.cassandra.pool.heartbeat-interval

spring.cassandra.pool.heartbeat-interval

spring.data.cassandra.pool.idle-timeout

spring.cassandra.pool.idle-timeout

spring.data.cassandra.port

spring.cassandra.port

spring.data.cassandra.request.consistency

spring.cassandra.request.consistency

spring.data.cassandra.request.page-size

spring.cassandra.request.page-size

spring.data.cassandra.request.serial-consistency

spring.cassandra.request.serial-consistency

spring.data.cassandra.request.throttler.drain-interval

spring.cassandra.request.throttler.drain-interval

spring.data.cassandra.request.throttler.max-concurrent-requests

spring.cassandra.request.throttler.max-concurrent-requests

spring.data.cassandra.request.throttler.max-queue-size

spring.cassandra.request.throttler.max-queue-size

spring.data.cassandra.request.throttler.max-requests-per-second

spring.cassandra.request.throttler.max-requests-per-second

spring.data.cassandra.request.throttler.type

spring.cassandra.request.throttler.type

spring.data.cassandra.request.timeout

spring.cassandra.request.timeout

spring.data.cassandra.schema-action

spring.cassandra.schema-action

spring.data.cassandra.session-name

spring.cassandra.session-name

spring.data.cassandra.ssl

spring.cassandra.ssl

spring.data.cassandra.username

spring.cassandra.username

spring.data.elasticsearch.client.reactive.endpoints

spring.elasticsearch.rest.uris

spring.profiles

spring.config.activate.on-profile

spring.redis.client-name

spring.data.redis.client-name

spring.redis.client-type

spring.data.redis.client-type

spring.redis.cluster.max-redirects

spring.data.redis.cluster.max-redirects

spring.redis.cluster.nodes

spring.data.redis.cluster.nodes

spring.redis.connect-timeout

spring.data.redis.connect-timeout

spring.redis.database

spring.data.redis.database

spring.redis.host

spring.data.redis.host

spring.redis.jedis.pool.enabled

spring.redis.jedis.pool.max-active

spring.redis.jedis.pool.max-idle

spring.redis.jedis.pool.max-wait

spring.redis.jedis.pool.min-idle

spring.redis.jedis.pool.time-between-eviction-runs

spring.redis.lettuce.cluster.refresh.adaptive

spring.data.redis.lettuce.cluster.refresh.adaptive

spring.redis.lettuce.cluster.refresh.dynamic-refresh-sources

spring.data.redis.lettuce.cluster.refresh.dynamic-refresh-sources

spring.redis.lettuce.cluster.refresh.period

spring.data.redis.lettuce.cluster.refresh.period

spring.redis.lettuce.pool.enabled

spring.redis.lettuce.pool.max-active

spring.redis.lettuce.pool.max-idle

spring.redis.lettuce.pool.max-wait

spring.redis.lettuce.pool.min-idle

spring.redis.lettuce.pool.time-between-eviction-runs

spring.redis.lettuce.shutdown-timeout

spring.data.redis.lettuce.shutdown-timeout

spring.redis.password

spring.data.redis.password

spring.redis.port

spring.data.redis.port

spring.redis.sentinel.master

spring.data.redis.sentinel.master

spring.redis.sentinel.nodes

spring.data.redis.sentinel.nodes

spring.redis.sentinel.password

spring.data.redis.sentinel.password

spring.redis.sentinel.username

spring.data.redis.sentinel.username

spring.redis.ssl

spring.data.redis.ssl

spring.redis.timeout

spring.data.redis.timeout

spring.redis.url

spring.data.redis.url

spring.redis.username

spring.data.redis.username

spring.webflux.session.timeout