Skip to content

Spring Boot 3.2.0 Configuration Changelog

Andy Wilkinson edited this page Jan 4, 2024 · 1 revision

Configuration property changes between 3.1.6 and 3.2.0

Deprecated in 3.2.0

Key Replacement Reason

management.otlp.metrics.export.resource-attributes

management.opentelemetry.resource-attributes

spring.datasource.dbcp2.default-query-timeout

spring.datasource.dbcp2.max-conn-lifetime-millis

spring.datasource.dbcp2.max-wait-millis

spring.datasource.dbcp2.min-evictable-idle-time-millis

spring.datasource.dbcp2.remove-abandoned-timeout

spring.datasource.dbcp2.soft-min-evictable-idle-time-millis

spring.datasource.dbcp2.time-between-eviction-runs-millis

spring.datasource.dbcp2.validation-query-timeout

spring.datasource.oracleucp.connection-wait-timeout

spring.flyway.oracle-kerberos-cache-file

spring.flyway.oracle.kerberos-cache-file

spring.flyway.oracle-sqlplus

spring.flyway.oracle.sqlplus

spring.flyway.oracle-sqlplus-warn

spring.flyway.oracle.sqlplus-warn

spring.flyway.oracle-wallet-location

spring.flyway.oracle.wallet-location

spring.flyway.sql-server-kerberos-login-file

spring.flyway.sqlserver.kerberos-login-file

spring.influx.password

the new InfluxDb Java client provides Spring Boot integration

spring.influx.url

the new InfluxDb Java client provides Spring Boot integration

spring.influx.user

the new InfluxDb Java client provides Spring Boot integration

spring.jms.listener.acknowledge-mode

spring.jms.listener.session.acknowledge-mode

spring.jms.listener.concurrency

spring.jms.listener.min-concurrency

spring.mvc.throw-exception-if-no-handler-found

DispatcherServlet property is deprecated for removal and should no longer need to be configured

Added in 3.2.0

Key Default value Description

logging.include-application-name

true

Whether to include the application name in the logs.

logging.pattern.correlation

Appender pattern for log correlation.

management.dynatrace.metrics.export.v2.export-meter-metadata

true

Whether to export meter metadata (unit and description) to the Dynatrace backend.

management.observations.enable

Whether observations starting with the specified name should be enabled.

management.observations.key-values

Common key-values that are applied to every observation.

management.observations.r2dbc.include-parameter-values

false

Whether to tag actual query parameter values.

management.opentelemetry.resource-attributes

Resource attributes.

management.otlp.metrics.export.base-time-unit

milliseconds

Time unit for exported metrics.

management.wavefront.api-token-type

Type of the API token.

server.jetty.max-connections

-1

Maximum number of connections that the server accepts and processes at any given time.

spring.datasource.dbcp2.duration-between-eviction-runs

spring.datasource.oracleucp.connection-wait-duration

spring.datasource.oracleucp.hostname-resolver

spring.flyway.oracle.kerberos-cache-file

Path of the Oracle Kerberos cache file.

spring.flyway.oracle.sqlplus

Whether to enable support for Oracle SQL*Plus commands.

spring.flyway.oracle.sqlplus-warn

Whether to issue a warning rather than an error when a not-yet-supported Oracle SQL*Plus statement is encountered.

spring.flyway.oracle.wallet-location

Location of the Oracle Wallet, used to sign in to the database automatically.

spring.flyway.postgresql.transactional-lock

Whether transactional advisory locks should be used.

spring.flyway.sqlserver.kerberos-login-file

Path to the SQL Server Kerberos login file.

spring.graphql.schema.inspection.enabled

true

Whether schema should be compared to the application to detect missing mappings.

spring.jackson.datatype.enum

Jackson on/off features for enums.

spring.jackson.datatype.json-node

Jackson on/off features for JsonNodes.

spring.jms.listener.min-concurrency

Minimum number of concurrent consumers.

spring.jms.listener.session.acknowledge-mode

auto

Acknowledge mode of the listener container.

spring.jms.listener.session.transacted

Whether the listener container should use transacted JMS sessions.

spring.jms.template.session.acknowledge-mode

auto

Acknowledge mode used when creating sessions.

spring.jms.template.session.transacted

false

Whether to use transacted sessions.

spring.kafka.admin.ssl.bundle

Name of the SSL bundle to use.

spring.kafka.consumer.ssl.bundle

Name of the SSL bundle to use.

spring.kafka.listener.change-consumer-thread-name

Whether to instruct the container to change the consumer thread name during initialization.

spring.kafka.listener.observation-enabled

false

Whether to enable observation.

spring.kafka.producer.ssl.bundle

Name of the SSL bundle to use.

spring.kafka.ssl.bundle

Name of the SSL bundle to use.

spring.kafka.streams.ssl.bundle

Name of the SSL bundle to use.

spring.kafka.template.observation-enabled

false

Whether to enable observation.

spring.liquibase.show-summary

Whether to print a summary of the update operation.

spring.liquibase.show-summary-output

Where to print a summary of the update operation.

spring.main.keep-alive

false

Whether to keep the application alive even if there are no more non-daemon threads.

spring.pulsar.admin.authentication.param

Authentication parameter(s) as a map of parameter names to parameter values.

spring.pulsar.admin.authentication.plugin-class-name

Fully qualified class name of the authentication plugin.

spring.pulsar.admin.connection-timeout

1m

Duration to wait for a connection to server to be established.

spring.pulsar.admin.read-timeout

1m

Server response read time out for any request.

spring.pulsar.admin.request-timeout

5m

Server request time out for any request.

spring.pulsar.admin.service-url

http://localhost:8080

Pulsar web URL for the admin endpoint in the format '(http or https)://host:port'.

spring.pulsar.client.authentication.param

Authentication parameter(s) as a map of parameter names to parameter values.

spring.pulsar.client.authentication.plugin-class-name

Fully qualified class name of the authentication plugin.

spring.pulsar.client.connection-timeout

10s

Duration to wait for a connection to a broker to be established.

spring.pulsar.client.lookup-timeout

Client lookup timeout.

spring.pulsar.client.operation-timeout

30s

Client operation timeout.

spring.pulsar.client.service-url

pulsar://localhost:6650

Pulsar service URL in the format '(pulsar or pulsar+ssl)://host:port'.

spring.pulsar.consumer.dead-letter-policy.dead-letter-topic

Name of the dead topic where the failing messages will be sent.

spring.pulsar.consumer.dead-letter-policy.initial-subscription-name

Name of the initial subscription of the dead letter topic.

spring.pulsar.consumer.dead-letter-policy.max-redeliver-count

0

Maximum number of times that a message will be redelivered before being sent to the dead letter queue.

spring.pulsar.consumer.dead-letter-policy.retry-letter-topic

Name of the retry topic where the failing messages will be sent.

spring.pulsar.consumer.name

Consumer name to identify a particular consumer from the topic stats.

spring.pulsar.consumer.priority-level

0

Priority level for shared subscription consumers.

spring.pulsar.consumer.read-compacted

false

Whether to read messages from the compacted topic rather than the full message backlog.

spring.pulsar.consumer.retry-enable

false

Whether to auto retry messages.

spring.pulsar.consumer.subscription.initial-position

Position where to initialize a newly created subscription.

spring.pulsar.consumer.subscription.mode

Subscription mode to be used when subscribing to the topic.

spring.pulsar.consumer.subscription.name

Subscription name for the consumer.

spring.pulsar.consumer.subscription.topics-mode

Determines which type of topics (persistent, non-persistent, or all) the consumer should be subscribed to when using pattern subscriptions.

spring.pulsar.consumer.subscription.type

Subscription type to be used when subscribing to a topic.

spring.pulsar.consumer.topics

Topics the consumer subscribes to.

spring.pulsar.consumer.topics-pattern

Pattern for topics the consumer subscribes to.

spring.pulsar.defaults.type-mappings

List of mappings from message type to topic name and schema info to use as a defaults when a topic name and/or schema is not explicitly specified when producing or consuming messages of the mapped type.

spring.pulsar.function.enabled

true

Whether to enable function support.

spring.pulsar.function.fail-fast

true

Whether to stop processing further function creates/updates when a failure occurs.

spring.pulsar.function.propagate-failures

true

Whether to throw an exception if any failure is encountered during server startup while creating/updating functions.

spring.pulsar.function.propagate-stop-failures

false

Whether to throw an exception if any failure is encountered during server shutdown while enforcing stop policy on functions.

spring.pulsar.listener.observation-enabled

true

Whether to record observations for when the Observations API is available and the client supports it.

spring.pulsar.listener.schema-type

SchemaType of the consumed messages.

spring.pulsar.producer.access-mode

Type of access to the topic the producer requires.

spring.pulsar.producer.batching-enabled

true

Whether to automatically batch messages.

spring.pulsar.producer.cache.enabled

true

Whether to enable caching in the PulsarProducerFactory.

spring.pulsar.producer.cache.expire-after-access

1m

Time period to expire unused entries in the cache.

spring.pulsar.producer.cache.initial-capacity

50

Initial size of cache.

spring.pulsar.producer.cache.maximum-size

1000

Maximum size of cache (entries).

spring.pulsar.producer.chunking-enabled

false

Whether to split large-size messages into multiple chunks.

spring.pulsar.producer.compression-type

Message compression type.

spring.pulsar.producer.hashing-scheme

Message hashing scheme to choose the partition to which the message is published.

spring.pulsar.producer.message-routing-mode

Message routing mode for a partitioned producer.

spring.pulsar.producer.name

Name for the producer.

spring.pulsar.producer.send-timeout

30s

Time before a message has to be acknowledged by the broker.

spring.pulsar.producer.topic-name

Topic the producer will publish to.

spring.pulsar.reader.name

Reader name.

spring.pulsar.reader.read-compacted

false

Whether to read messages from a compacted topic rather than a full message backlog of a topic.

spring.pulsar.reader.subscription-name

Subscription name.

spring.pulsar.reader.subscription-role-prefix

Prefix of subscription role.

spring.pulsar.reader.topics

Topis the reader subscribes to.

spring.pulsar.template.observations-enabled

true

Whether to record observations for when the Observations API is available.

spring.rabbitmq.listener.direct.force-stop

false

Whether the container (when stopped) should stop immediately after processing the current message or stop after processing all pre-fetched messages.

spring.rabbitmq.listener.simple.force-stop

false

Whether the container (when stopped) should stop immediately after processing the current message or stop after processing all pre-fetched messages.

spring.rabbitmq.max-inbound-message-body-size

64MB

Maximum size of the body of inbound (received) messages.

spring.rabbitmq.ssl.bundle

SSL bundle name.

spring.rabbitmq.stream.virtual-host

Virtual host of a RabbitMQ instance with the Stream plugin enabled.

spring.reactor.context-propagation

limited

Context Propagation support mode for Reactor operators.

spring.rsocket.server.spec.compress

false

Whether the websocket compression extension is enabled.

spring.rsocket.server.spec.handle-ping

false

Whether to proxy websocket ping frames or respond to them.

spring.rsocket.server.spec.max-frame-payload-length

65536B

Maximum allowable frame payload length.

spring.rsocket.server.spec.protocols

Sub-protocols to use in websocket handshake signature.

spring.servlet.multipart.strict-servlet-compliance

false

Whether to resolve the multipart request strictly complying with the Servlet specification, only to be used for "multipart/form-data" requests.

spring.ssl.bundle.watch.file.quiet-period

10s

Quiet period, after which changes are detected.

spring.task.execution.simple.concurrency-limit

Set the maximum number of parallel accesses allowed. -1 indicates no concurrency limit at all.

spring.task.scheduling.simple.concurrency-limit

Set the maximum number of parallel accesses allowed. -1 indicates no concurrency limit at all.

spring.threads.virtual.enabled

false

Whether to use virtual threads.

Removed in 3.2.0

Key Replacement Reason

management.metrics.web.client.request.metric-name

management.observations.http.client.requests.name

management.metrics.web.server.request.metric-name

management.observations.http.server.requests.name

server.max-http-header-size

server.max-http-request-header-size

server.netty.max-chunk-size

Deprecated for removal in Reactor Netty.

server.servlet.session.cookie.comment

spring.jta.atomikos.connectionfactory.borrow-connection-timeout

spring.jta.atomikos.connectionfactory.ignore-session-transacted-flag

spring.jta.atomikos.connectionfactory.local-transaction-mode

spring.jta.atomikos.connectionfactory.maintenance-interval

spring.jta.atomikos.connectionfactory.max-idle-time

spring.jta.atomikos.connectionfactory.max-lifetime

spring.jta.atomikos.connectionfactory.max-pool-size

spring.jta.atomikos.connectionfactory.min-pool-size

spring.jta.atomikos.connectionfactory.reap-timeout

spring.jta.atomikos.connectionfactory.unique-resource-name

spring.jta.atomikos.connectionfactory.xa-connection-factory-class-name

spring.jta.atomikos.connectionfactory.xa-properties

spring.jta.atomikos.datasource.borrow-connection-timeout

spring.jta.atomikos.datasource.concurrent-connection-validation

spring.jta.atomikos.datasource.default-isolation-level

spring.jta.atomikos.datasource.login-timeout

spring.jta.atomikos.datasource.maintenance-interval

spring.jta.atomikos.datasource.max-idle-time

spring.jta.atomikos.datasource.max-lifetime

spring.jta.atomikos.datasource.max-pool-size

spring.jta.atomikos.datasource.min-pool-size

spring.jta.atomikos.datasource.reap-timeout

spring.jta.atomikos.datasource.test-query

spring.jta.atomikos.datasource.unique-resource-name

spring.jta.atomikos.datasource.xa-data-source-class-name

spring.jta.atomikos.datasource.xa-properties

spring.liquibase.labels

spring.liquibase.label-filter

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

Deprecated for removal in Spring MVC.

Clone this wiki locally