Skip to content

Spring Boot 3.2.0 M3 Configuration Changelog

Phillip Webb edited this page Oct 19, 2023 · 1 revision

Configuration property changes between 3.2.0-M2 and 3.2.0-M3

Deprecated in 3.2.0-M3

Key Replacement Reason

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

Added in 3.2.0-M3

Key Default value Description

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

true

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

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

spring.graphql.schema.inspection.enabled

true

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

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

-1ms

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.stream.virtual-host

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

spring.servlet.multipart.strict-servlet-compliance

false

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

Removed in 3.2.0-M3

None.

Clone this wiki locally