Skip to content

Spring Boot 3.1.0 Configuration Changelog

Phillip Webb edited this page Jun 22, 2023 · 1 revision

Configuration property changes between 3.0.7 and 3.1.0

Deprecated in 3.1.0

Key

Replacement

Reason

spring.couchbase.env.ssl.key-store

SSL bundle support with spring.ssl.bundle and spring.couchbase.env.ssl.bundle should be used instead

spring.couchbase.env.ssl.key-store-password

SSL bundle support with spring.ssl.bundle and spring.couchbase.env.ssl.bundle should be used instead

spring.kafka.streams.cache-max-size-buffering

spring.kafka.streams.state-store-cache-max-size

New in 3.1.0

Key

Default value

Description

logging.threshold.console

TRACE

Log level threshold for console output.

logging.threshold.file

TRACE

Log level threshold for file output.

management.endpoint.health.validate-group-membership

true

Whether to validate health group membership on startup.

management.otlp.metrics.export.aggregation-temporality

Aggregation temporality of sums.

management.otlp.metrics.export.headers

Headers for the exported metrics.

management.otlp.tracing.compression

none

Method used to compress the payload.

management.otlp.tracing.endpoint

http://localhost:4318/v1/traces

URL to the OTel collector’s HTTP API.

management.otlp.tracing.headers

Custom HTTP headers you want to pass to the collector, for example auth headers.

management.otlp.tracing.timeout

10s

Call timeout for the OTel Collector to process an exported batch of data.

management.server.ssl.bundle

The name of a configured SSL bundle.

management.tracing.brave.span-joining-supported

false

Whether the propagation type and tracing backend support sharing the span ID between client and server spans.

management.wavefront.application.custom-tags

Wavefront custom tags used in ApplicationTags.

server.jetty.max-http-response-header-size

8KB

Maximum size of the HTTP response header.

server.ssl.bundle

The name of a configured SSL bundle.

server.tomcat.max-http-response-header-size

8KB

Maximum size of the HTTP response header.

spring.activemq.broker-url

URL of the ActiveMQ broker.

spring.activemq.close-timeout

15s

Time to wait before considering a close complete.

spring.activemq.non-blocking-redelivery

false

Whether to stop message delivery before re-delivering messages from a rolled back transaction.

spring.activemq.packages.trust-all

Whether to trust all packages.

spring.activemq.packages.trusted

Comma-separated list of specific packages to trust (when not trusting all packages).

spring.activemq.password

Login password of the broker.

spring.activemq.pool.block-if-full

true

Whether to block when a connection is requested and the pool is full.

spring.activemq.pool.block-if-full-timeout

-1ms

Blocking period before throwing an exception if the pool is still full.

spring.activemq.pool.enabled

false

Whether a JmsPoolConnectionFactory should be created, instead of a regular ConnectionFactory.

spring.activemq.pool.idle-timeout

30s

Connection idle timeout.

spring.activemq.pool.max-connections

1

Maximum number of pooled connections.

spring.activemq.pool.max-sessions-per-connection

500

Maximum number of pooled sessions per connection in the pool.

spring.activemq.pool.time-between-expiration-check

-1ms

Time to sleep between runs of the idle connection eviction thread.

spring.activemq.pool.use-anonymous-producers

true

Whether to use only one anonymous "MessageProducer" instance.

spring.activemq.send-timeout

0ms

Time to wait on message sends for a response.

spring.activemq.user

Login user of the broker.

spring.cassandra.ssl.bundle

SSL bundle name.

spring.cassandra.ssl.enabled

Whether to enable SSL support.

spring.couchbase.env.ssl.bundle

SSL bundle name.

spring.data.mongodb.ssl.bundle

SSL bundle name.

spring.data.mongodb.ssl.enabled

Whether to enable SSL support.

spring.data.redis.ssl.bundle

SSL bundle name.

spring.data.redis.ssl.enabled

Whether to enable SSL support.

spring.elasticsearch.restclient.ssl.bundle

SSL bundle name.

spring.flyway.execute-in-transaction

true

Whether Flyway should execute SQL within a transaction.

spring.flyway.loggers

slf4j

Loggers Flyway should use.

spring.jmx.registration-policy

JMX Registration policy.

spring.kafka.admin.auto-create

true

Whether to automatically create topics during context initialization.

spring.kafka.admin.close-timeout

The close timeout.

spring.kafka.admin.operation-timeout

The operation timeout.

spring.kafka.listener.auto-startup

true

Whether to auto start the container.

spring.kafka.streams.state-store-cache-max-size

Maximum size of the in-memory state store cache across all threads.

spring.rsocket.server.ssl.bundle

The name of a configured SSL bundle.

spring.security.oauth2.authorizationserver.client

Registered clients of the Authorization Server.

spring.security.oauth2.authorizationserver.endpoint.authorization-uri

/oauth2/authorize

Authorization Server’s OAuth 2.0 Authorization Endpoint.

spring.security.oauth2.authorizationserver.endpoint.device-authorization-uri

/oauth2/device_authorization

Authorization Server’s OAuth 2.0 Device Authorization Endpoint.

spring.security.oauth2.authorizationserver.endpoint.device-verification-uri

/oauth2/device_verification

Authorization Server’s OAuth 2.0 Device Verification Endpoint.

spring.security.oauth2.authorizationserver.endpoint.jwk-set-uri

/oauth2/jwks

Authorization Server’s JWK Set Endpoint.

spring.security.oauth2.authorizationserver.endpoint.oidc.client-registration-uri

/connect/register

Authorization Server’s OpenID Connect 1.0 Client Registration Endpoint.

spring.security.oauth2.authorizationserver.endpoint.oidc.logout-uri

/connect/logout

Authorization Server’s OpenID Connect 1.0 Logout Endpoint.

spring.security.oauth2.authorizationserver.endpoint.oidc.user-info-uri

/userinfo

Authorization Server’s OpenID Connect 1.0 UserInfo Endpoint.

spring.security.oauth2.authorizationserver.endpoint.token-introspection-uri

/oauth2/introspect

Authorization Server’s OAuth 2.0 Token Introspection Endpoint.

spring.security.oauth2.authorizationserver.endpoint.token-revocation-uri

/oauth2/revoke

Authorization Server’s OAuth 2.0 Token Revocation Endpoint.

spring.security.oauth2.authorizationserver.endpoint.token-uri

/oauth2/token

Authorization Server’s OAuth 2.0 Token Endpoint.

spring.security.oauth2.authorizationserver.issuer

URL of the Authorization Server’s Issuer Identifier.

Removed in 3.1.0

Key

Replacement

Reason

spring.cassandra.ssl

spring.cassandra.ssl.enabled

spring.data.redis.ssl

spring.data.redis.ssl.enabled

Clone this wiki locally