2.8.0 (2021-08-25)
This release is compatible with Spring Boot 2.5.0 - 2.5.3 and Spring Cloud 2020.0.3.
Key Bug Fixes
- Fixed service bus cleint factory destroyed, resource not released bug.(#23195)
Dependency Upgrades
- Upgrade to spring-boot-dependencies:2.5.3.
Breaking Changes
- Override paritionkey when session id is set. (#23135)
- Adjust the order of different partition key header. (#23135)
- Deprecate the
spring.cloud.stream.servicebus.queue.bindings.<channelName>.consumer.concurrency
property,
usemaxConcurrentSessions
andmaxConcurrentCalls
to set the properties.
New Features
- Support configuration of
retryOptions
for ServiceBusClientBuilder with property ofspring.cloud.azure.servicebus.retry-options
, these parameters can be modified:maxRetries
,delay
,maxDelay
,tryTimeout
,Mode
. - Support configuration of
maxConcurrentCalls
for ServiceBusClientConfig with property ofspring.cloud.stream.servicebus.queue.bindings.<channelName>.consumer.maxConcurrentCalls
. - Support configuration of
maxConcurrentSessions
for ServiceBusClientConfig with property ofspring.cloud.stream.servicebus.queue.bindings.<channelName>.consumer.maxConcurrentSessions
. - Support configuration of
serviceBusReceiveMode
for ServiceBusClientConfig with property ofspring.cloud.stream.servicebus.queue.bindings.<channelName>.consumer.serviceBusReceiveMode
, supported values arePEEK_LOCK
andRECEIVE_AND_DELETE
. - Support configuration of
enableAutoComplete
for ServiceBusClientConfig with property ofspring.cloud.stream.servicebus.queue.bindings.<channelName>.consumer.enableAutoComplete
.