Skip to content

Spring Boot 4.1.0 M3 Configuration Changelog

Phillip Webb edited this page Mar 20, 2026 · 2 revisions

Configuration property changes between 4.1.0-M2 and 4.1.0-M3

Default Changed in 4.1.0-M3

Key Old Default New Default

server.tomcat.max-part-count

10

50

spring.jackson.factory.constraints.read.max-string-length

20000000

100000000

Deprecated in 4.1.0-M3

Key Replacement Reason

spring.devtools.livereload.enabled

Deprecated with no replacement

spring.devtools.livereload.port

Deprecated with no replacement

Added in 4.1.0-M3

Key Default value Description

logging.log4j2.rollingpolicy.cron

0 0 0 * * ?

Cron expression used when the strategy is 'cron'.

logging.log4j2.rollingpolicy.file-name-pattern

${LOG_FILE}.%d{yyyy-MM-dd}.%i.gz

Pattern for rolled-over log file names.

logging.log4j2.rollingpolicy.max-file-size

10MB

Maximum log file size.

logging.log4j2.rollingpolicy.max-history

7

Maximum number of archive log files to keep.

logging.log4j2.rollingpolicy.strategy

size

Rolling policy strategy.

logging.log4j2.rollingpolicy.time-interval

1

Time based triggering interval when the strategy is 'time' or 'size-and-time'.

logging.log4j2.rollingpolicy.time-modulate

false

Whether to align the next rollover time to occur at the top of the interval when the strategy is time based.

management.opentelemetry.enabled

true

Whether OpenTelemetry should be enabled.

management.opentelemetry.logging.export.max-batch-size

512

Maximum batch size for each export.

management.opentelemetry.logging.export.max-queue-size

2048

Maximum number of logs that are kept in the queue before they will be dropped.

management.opentelemetry.logging.export.otlp.ssl.bundle

SSL bundle name.

management.opentelemetry.logging.export.schedule-delay

1s

The delay interval between two consecutive exports.

management.opentelemetry.logging.export.timeout

30s

Maximum time an export will be allowed to run before being cancelled.

management.opentelemetry.logging.limits.max-attribute-value-length

Maximum number of characters for string attribute values.

management.opentelemetry.logging.limits.max-attributes

128

Maximum number of attributes per log record.

management.opentelemetry.tracing.export.otlp.ssl.bundle

SSL bundle name.

management.opentelemetry.tracing.limits.max-attribute-value-length

Maximum number of characters for string attribute values.

management.opentelemetry.tracing.limits.max-attributes

128

Maximum number of attributes per span.

management.opentelemetry.tracing.limits.max-attributes-per-event

128

Maximum number of attributes per event.

management.opentelemetry.tracing.limits.max-attributes-per-link

128

Maximum number of attributes per link.

management.opentelemetry.tracing.limits.max-events

128

Maximum number of events per span.

management.opentelemetry.tracing.limits.max-links

128

Maximum number of links per span.

management.opentelemetry.tracing.sampler

parent-based-trace-id-ratio

Sampler to use.

management.otlp.metrics.export.ssl.bundle

SSL bundle name.

management.tracing.exemplars.include

sampled-traces

Traces to include as exemplars.

spring.amqp.client.completion-timeout

60s

Maximum time to wait for request operations to complete.

spring.amqp.client.default-to-address

Default destination address for send operations when none is specified.

spring.amqp.host

localhost

AMQP broker host.

spring.amqp.password

Password used to authenticate to the broker.

spring.amqp.port

5672

AMQP broker port.

spring.amqp.username

Login user to authenticate to the broker.

spring.grpc.client.channel

Map of channel configured by name.

spring.grpc.client.channelfactory.enabled

true

Whether to enable gRPC channel factory bean auto-configuration.

spring.grpc.client.enabled

true

Whether to enable gRPC client auto-configuration.

spring.grpc.client.inprocess.enabled

true

Whether to configure the in-process channel factory.

spring.grpc.client.observation.enabled

true

Whether to enable Observations on the client.

spring.grpc.server.address

Network address to which the gRPC server should bind.

spring.grpc.server.enabled

true

Whether to enable gRPC server auto-configuration.

spring.grpc.server.factory.enabled

true

Whether to enable gRPC server factory bean auto-configuration.

spring.grpc.server.health.enabled

Whether to auto-configure Health feature on the gRPC server.

spring.grpc.server.health.include-overall-health

true

Whether to include the overall server health.

spring.grpc.server.health.schedule.delay

5s

The initial delay before updating the health status the very first time.

spring.grpc.server.health.schedule.enabled

true

Whether to schedule updates to gRPC server health based on application health.

spring.grpc.server.health.schedule.period

5s

How often to update the health status.

spring.grpc.server.health.service

Service specific health reporting.

spring.grpc.server.health.services.validate-membership

true

Whether to validate health membership for services on startup.

spring.grpc.server.health.status.mapping

Mapping of health statuses to gRPC service status.

spring.grpc.server.health.status.order

List of health statuses in order of severity.

spring.grpc.server.inbound.message.max-size

4194304B

Maximum message size allowed to be received by the server (default 4MiB).

spring.grpc.server.inbound.metadata.max-size

8192B

Maximum metadata size allowed to be received by the server (default 8KiB).

spring.grpc.server.inprocess.name

The name of the in-process server or null to not start the in-process server.

spring.grpc.server.keepalive.connection.grace-period

30s

Maximum time for graceful connection termination (default infinite).

spring.grpc.server.keepalive.connection.max-age

Maximum time a connection may exist before being gracefully terminated (default infinite).

spring.grpc.server.keepalive.connection.max-idle-time

Maximum time a connection can remain idle before being gracefully terminated (default infinite).

spring.grpc.server.keepalive.permit.time

5m

Maximum keep-alive time clients are permitted to configure (default 5m).

spring.grpc.server.keepalive.permit.without-calls

false

Whether clients are permitted to send keep alive pings when there are no outstanding RPCs on the connection (default false).

spring.grpc.server.keepalive.time

2h

Duration without read activity before sending a keep alive ping (default 2h).

spring.grpc.server.keepalive.timeout

20s

Maximum time to wait for read activity after sending a keep alive ping.

spring.grpc.server.netty.domain-socket-path

Path of the domain socket that should be used.

spring.grpc.server.netty.transport

Transport mechanism used for Netty and Netty Shaded servers.

spring.grpc.server.observation.enabled

true

Whether to enable Observations on the server.

spring.grpc.server.port

Port on which the gRPC server should listen.

spring.grpc.server.reflection.enabled

true

Whether to enable Reflection on the gRPC server.

spring.grpc.server.servlet.enabled

false

Whether to use a servlet server in a servlet-based web application.

spring.grpc.server.servlet.validate-http2

true

Whether to validate that HTTP/2 is enabled.

spring.grpc.server.shutdown.grace-period

30s

Maximum time to wait for the server to gracefully shutdown.

spring.grpc.server.ssl.bundle

SSL bundle name.

spring.grpc.server.ssl.client-auth

none

Client authentication mode.

spring.grpc.server.ssl.enabled

Whether to enable SSL support.

spring.grpc.server.ssl.secure

true

Flag to indicate that client authentication is secure (i.e. certificates are checked).

spring.http.clients.cookie-handling

Handling for HTTP cookies.

spring.rabbitmq.stream.ssl.bundle

SSL bundle name.

spring.rabbitmq.stream.ssl.enabled

Whether to enable SSL support.

spring.security.oauth2.resourceserver.jwt.authorities-claim-expressions

List of expressions to use to extract authorities from a JWT.

Removed in 4.1.0-M3

None.

Clone this wiki locally